You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,25 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
declare i32 @External()
|
||||
|
||||
define internal i32 @Callee() {
|
||||
%I = call i32 @External( ) ; <i32> [#uses=2]
|
||||
%J = add i32 %I, %I ; <i32> [#uses=1]
|
||||
ret i32 %J
|
||||
}
|
||||
|
||||
define i32 @Caller() personality i32 (...)* @__gxx_personality_v0 {
|
||||
%V = invoke i32 @Callee( )
|
||||
to label %Ok unwind label %Bad ; <i32> [#uses=1]
|
||||
|
||||
Ok: ; preds = %0
|
||||
ret i32 %V
|
||||
|
||||
Bad: ; preds = %0
|
||||
%exn = landingpad {i8*, i32}
|
||||
cleanup
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
@ -1,22 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
define i32 @main() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
invoke void @__main( )
|
||||
to label %LongJmpBlkPost unwind label %LongJmpBlkPre
|
||||
|
||||
LongJmpBlkPost:
|
||||
ret i32 0
|
||||
|
||||
LongJmpBlkPre:
|
||||
%i.3 = phi i32 [ 0, %entry ]
|
||||
%exn = landingpad {i8*, i32}
|
||||
cleanup
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
define void @__main() {
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
@ -1,32 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
define i32 @main() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
invoke void @__main( )
|
||||
to label %Call2Invoke unwind label %LongJmpBlkPre
|
||||
|
||||
Call2Invoke: ; preds = %entry
|
||||
br label %exit
|
||||
|
||||
LongJmpBlkPre: ; preds = %Call2Invoke, %entry
|
||||
%i.3 = phi i32 [ 0, %entry ]
|
||||
%exn = landingpad {i8*, i32}
|
||||
cleanup
|
||||
br label %exit
|
||||
|
||||
exit:
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
define void @__main() {
|
||||
call void @__llvm_getGlobalCtors( )
|
||||
call void @__llvm_getGlobalDtors( )
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
||||
declare void @__llvm_getGlobalCtors()
|
||||
|
||||
declare void @__llvm_getGlobalDtors()
|
||||
|
@ -1,25 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
define i32 @main() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
invoke void @__main( )
|
||||
to label %else unwind label %RethrowExcept
|
||||
|
||||
else: ; preds = %LJDecisionBB, %entry
|
||||
%i.2 = phi i32 [ 36, %entry ], [ %i.2, %LJDecisionBB ] ; <i32> [#uses=1]
|
||||
br label %LJDecisionBB
|
||||
|
||||
LJDecisionBB: ; preds = %else
|
||||
br label %else
|
||||
|
||||
RethrowExcept: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32}
|
||||
cleanup
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
define void @__main() {
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
@ -1,19 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
define i32 @reload() {
|
||||
reloadentry:
|
||||
br label %A
|
||||
|
||||
A: ; preds = %reloadentry
|
||||
call void @callee( )
|
||||
ret i32 0
|
||||
}
|
||||
|
||||
define internal void @callee() {
|
||||
entry:
|
||||
%X = alloca i8, i32 0 ; <i8*> [#uses=0]
|
||||
%Y = bitcast i32 0 to i32 ; <i32> [#uses=1]
|
||||
%Z = alloca i8, i32 %Y ; <i8*> [#uses=0]
|
||||
ret void
|
||||
}
|
||||
|
@ -1,20 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
; Inlining the first call caused the inliner function to delete the second
|
||||
; call. Then the inliner tries to inline the second call, which no longer
|
||||
; exists.
|
||||
|
||||
define internal void @Callee1() {
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @Callee2() {
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @caller() {
|
||||
call void @Callee1( )
|
||||
call void @Callee2( )
|
||||
ret void
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
; RUN: opt < %s -inline -prune-eh -disable-output
|
||||
|
||||
define linkonce void @caller() {
|
||||
call void @callee( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define linkonce void @callee() {
|
||||
ret void
|
||||
}
|
||||
|
@ -1,11 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
|
||||
define i32 @test() {
|
||||
unreachable
|
||||
}
|
||||
|
||||
define i32 @caller() {
|
||||
%X = call i32 @test( ) ; <i32> [#uses=1]
|
||||
ret i32 %X
|
||||
}
|
||||
|
@ -1,25 +0,0 @@
|
||||
; RUN: opt < %s -inline -prune-eh -disable-output
|
||||
|
||||
%"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>" = type { %"struct.std::locale::facet" }
|
||||
%"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >" = type { i32 (...)**, i32*, i32*, i32*, i32*, i32*, i32*, %"struct.std::locale" }
|
||||
%"struct.std::ios_base" = type { i32 (...)**, i32, i32, i32, i32, i32, %"struct.std::ios_base::_Callback_list"*, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, %"struct.std::ios_base::_Words"*, %"struct.std::locale" }
|
||||
%"struct.std::ios_base::_Callback_list" = type { %"struct.std::ios_base::_Callback_list"*, void (i32, %"struct.std::ios_base"*, i32)*, i32, i32 }
|
||||
%"struct.std::ios_base::_Words" = type { i8*, i32 }
|
||||
%"struct.std::locale" = type { %"struct.std::locale::_Impl"* }
|
||||
%"struct.std::locale::_Impl" = type { i32, %"struct.std::locale::facet"**, i32, %"struct.std::locale::facet"**, i8** }
|
||||
%"struct.std::locale::facet" = type { i32 (...)**, i32 }
|
||||
%"struct.std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t> >" = type { %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >"*, i32 }
|
||||
|
||||
define void @_ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE6do_putES3_RSt8ios_basewl(%"struct.std::ostreambuf_iterator<wchar_t,std::char_traits<wchar_t> >"* %agg.result, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"* %this, %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >"* %__s.0__, i32 %__s.1__, %"struct.std::ios_base"* %__io, i32 %__fill, i32 %__v) {
|
||||
entry:
|
||||
tail call fastcc void @_ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE13_M_insert_intIlEES3_S3_RSt8ios_basewT_( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNKSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEE13_M_insert_intIlEES3_S3_RSt8ios_basewT_() {
|
||||
entry:
|
||||
%tmp.38 = shl i32 0, 3 ; <i32> [#uses=1]
|
||||
%tmp.39 = alloca i8, i32 %tmp.38 ; <i8*> [#uses=0]
|
||||
ret void
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,252 +0,0 @@
|
||||
; RUN: opt < %s -inline -prune-eh -disable-output
|
||||
; PR993
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i386-unknown-openbsd3.9"
|
||||
%"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" = type { i8* }
|
||||
%"struct.__gnu_cxx::char_producer<char>" = type { i32 (...)** }
|
||||
%struct.__sFILE = type { i8*, i32, i32, i16, i16, %struct.__sbuf, i32, i8*, i32 (i8*)*, i32 (i8*, i8*, i32)*, i64 (i8*, i64, i32)*, i32 (i8*, i8*, i32)*, %struct.__sbuf, i8*, i32, [3 x i8], [1 x i8], %struct.__sbuf, i32, i64 }
|
||||
%struct.__sbuf = type { i8*, i32 }
|
||||
%"struct.std::__basic_file<char>" = type { %struct.__sFILE*, i1 }
|
||||
%"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>" = type { %"struct.std::locale::facet" }
|
||||
%"struct.std::bad_alloc" = type { %"struct.__gnu_cxx::char_producer<char>" }
|
||||
%"struct.std::basic_filebuf<char,std::char_traits<char> >" = type { %"struct.std::basic_streambuf<char,std::char_traits<char> >", i32, %"struct.std::__basic_file<char>", i32, %union.__mbstate_t, %union.__mbstate_t, i8*, i32, i1, i1, i1, i1, i8, i8*, i8*, i1, %"struct.std::codecvt<char,char,__mbstate_t>"*, i8*, i32, i8*, i8* }
|
||||
%"struct.std::basic_ios<char,std::char_traits<char> >" = type { %"struct.std::ios_base", %"struct.std::basic_ostream<char,std::char_traits<char> >"*, i8, i1, %"struct.std::basic_streambuf<char,std::char_traits<char> >"*, %"struct.std::ctype<char>"*, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"*, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"* }
|
||||
%"struct.std::basic_iostream<char,std::char_traits<char> >" = type { %"struct.std::locale::facet", %"struct.__gnu_cxx::char_producer<char>", %"struct.std::basic_ios<char,std::char_traits<char> >" }
|
||||
%"struct.std::basic_ofstream<char,std::char_traits<char> >" = type { %"struct.__gnu_cxx::char_producer<char>", %"struct.std::basic_filebuf<char,std::char_traits<char> >", %"struct.std::basic_ios<char,std::char_traits<char> >" }
|
||||
%"struct.std::basic_ostream<char,std::char_traits<char> >" = type { i32 (...)**, %"struct.std::basic_ios<char,std::char_traits<char> >" }
|
||||
%"struct.std::basic_streambuf<char,std::char_traits<char> >" = type { i32 (...)**, i8*, i8*, i8*, i8*, i8*, i8*, %"struct.std::locale" }
|
||||
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" = type { %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" }
|
||||
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" }
|
||||
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { i32, i32, i32 }
|
||||
%"struct.std::codecvt<char,char,__mbstate_t>" = type { %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>", i32* }
|
||||
%"struct.std::ctype<char>" = type { %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>", i32*, i1, i32*, i32*, i32* }
|
||||
%"struct.std::domain_error" = type { %"struct.std::logic_error" }
|
||||
%"struct.std::ios_base" = type { i32 (...)**, i32, i32, i32, i32, i32, %"struct.std::ios_base::_Callback_list"*, %struct.__sbuf, [8 x %struct.__sbuf], i32, %struct.__sbuf*, %"struct.std::locale" }
|
||||
%"struct.std::ios_base::_Callback_list" = type { %"struct.std::ios_base::_Callback_list"*, void (i32, %"struct.std::ios_base"*, i32)*, i32, i32 }
|
||||
%"struct.std::ios_base::_Words" = type { i8*, i32 }
|
||||
%"struct.std::locale" = type { %"struct.std::locale::_Impl"* }
|
||||
%"struct.std::locale::_Impl" = type { i32, %"struct.std::locale::facet"**, i32, %"struct.std::locale::facet"**, i8** }
|
||||
%"struct.std::locale::facet" = type { i32 (...)**, i32 }
|
||||
%"struct.std::logic_error" = type { %"struct.__gnu_cxx::char_producer<char>", %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" }
|
||||
%union.__mbstate_t = type { i64, [120 x i8] }
|
||||
@.str_1 = external global [17 x i8] ; <[17 x i8]*> [#uses=0]
|
||||
@.str_9 = external global [24 x i8] ; <[24 x i8]*> [#uses=0]
|
||||
|
||||
define void @main() {
|
||||
entry:
|
||||
call fastcc void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode() {
|
||||
entry:
|
||||
%tmp.6 = icmp eq %"struct.std::basic_filebuf<char,std::char_traits<char> >"* null, null ; <i1> [#uses=1]
|
||||
br i1 %tmp.6, label %then, label %UnifiedReturnBlock
|
||||
|
||||
then: ; preds = %entry
|
||||
tail call fastcc void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate( )
|
||||
ret void
|
||||
|
||||
UnifiedReturnBlock: ; preds = %entry
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZN10__cxxabiv111__terminateEPFvvE() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZNSdD0Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZThn8_NSdD1Ev() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt13basic_filebufIcSt11char_traitsIcEED0Ev() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt13basic_filebufIcSt11char_traitsIcEE9pbackfailEi() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSoD2Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt9basic_iosIcSt11char_traitsIcEED2Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate() {
|
||||
entry:
|
||||
tail call fastcc void @_ZSt19__throw_ios_failurePKc( )
|
||||
ret void
|
||||
}
|
||||
|
||||
declare fastcc void @_ZNSaIcED1Ev()
|
||||
|
||||
define fastcc void @_ZNSsC1EPKcRKSaIcE() {
|
||||
entry:
|
||||
tail call fastcc void @_ZNSs16_S_construct_auxIPKcEEPcT_S3_RKSaIcE12__false_type( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt14__convert_to_vIyEvPKcRT_RSt12_Ios_IostateRKPii() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEEC1Ej() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt19__throw_ios_failurePKc() {
|
||||
entry:
|
||||
call fastcc void @_ZNSsC1EPKcRKSaIcE( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_GLOBAL__D__ZSt23lexicographical_compareIPKaS1_EbT_S2_T0_S3_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt9bad_allocD1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt19__throw_logic_errorPKc() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
invoke fastcc void @_ZNSt11logic_errorC1ERKSs( )
|
||||
to label %try_exit.0 unwind label %try_catch.0
|
||||
|
||||
try_catch.0: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32}
|
||||
catch i8* null
|
||||
resume { i8*, i32 } %exn
|
||||
|
||||
try_exit.0: ; preds = %entry
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt11logic_errorC1ERKSs() {
|
||||
entry:
|
||||
call fastcc void @_ZNSsC1ERKSs( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt12domain_errorD1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt20__throw_length_errorPKc() {
|
||||
entry:
|
||||
call fastcc void @_ZNSt12length_errorC1ERKSs( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt12length_errorC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
invoke fastcc void @_ZNSsC1ERKSs( )
|
||||
to label %_ZNSt11logic_errorC2ERKSs.exit unwind label %invoke_catch.i
|
||||
|
||||
invoke_catch.i: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32}
|
||||
catch i8* null
|
||||
resume { i8*, i32 } %exn
|
||||
|
||||
_ZNSt11logic_errorC2ERKSs.exit: ; preds = %entry
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs4_Rep9_S_createEjRKSaIcE() {
|
||||
entry:
|
||||
call fastcc void @_ZSt20__throw_length_errorPKc( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSsEEEES2_T_S4_RKSaIcESt20forward_iterator_tag() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs16_S_construct_auxIPKcEEPcT_S3_RKSaIcE12__false_type() {
|
||||
entry:
|
||||
br i1 false, label %then.1.i, label %endif.1.i
|
||||
|
||||
then.1.i: ; preds = %entry
|
||||
call fastcc void @_ZSt19__throw_logic_errorPKc( )
|
||||
br label %endif.1.i
|
||||
|
||||
endif.1.i: ; preds = %then.1.i, %entry
|
||||
call fastcc void @_ZNSs4_Rep9_S_createEjRKSaIcE( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSsC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
call fastcc void @_ZNSs4_Rep7_M_grabERKSaIcES2_( )
|
||||
invoke fastcc void @_ZNSaIcEC1ERKS_( )
|
||||
to label %invoke_cont.1 unwind label %invoke_catch.1
|
||||
|
||||
invoke_catch.1: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32}
|
||||
catch i8* null
|
||||
call fastcc void @_ZNSaIcED1Ev( )
|
||||
resume { i8*, i32 } %exn
|
||||
|
||||
invoke_cont.1: ; preds = %entry
|
||||
call fastcc void @_ZNSaIcEC2ERKS_( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSaIcEC1ERKS_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs7replaceEN9__gnu_cxx17__normal_iteratorIPcSsEES2_jc() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs4_Rep7_M_grabERKSaIcES2_() {
|
||||
entry:
|
||||
br i1 false, label %else.i, label %cond_true
|
||||
|
||||
cond_true: ; preds = %entry
|
||||
ret void
|
||||
|
||||
else.i: ; preds = %entry
|
||||
tail call fastcc void @_ZNSs4_Rep9_S_createEjRKSaIcE( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSaIcEC2ERKS_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZN9__gnu_cxx12__pool_allocILb1ELi0EE8allocateEj() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZN9__gnu_cxx12__pool_allocILb1ELi0EE9_S_refillEj() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
@ -1,343 +0,0 @@
|
||||
; RUN: opt < %s -inline -prune-eh -disable-output
|
||||
; PR992
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
%struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i32, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i32, [52 x i8] }
|
||||
%struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, i32 }
|
||||
%"struct.__cxxabiv1::__array_type_info" = type { %"struct.std::type_info" }
|
||||
%"struct.__cxxabiv1::__si_class_type_info" = type { %"struct.__cxxabiv1::__array_type_info", %"struct.__cxxabiv1::__array_type_info"* }
|
||||
%"struct.__gnu_cxx::_Rope_rep_alloc_base<char,std::allocator<char>, true>" = type { i32 }
|
||||
%"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" = type { i8* }
|
||||
%"struct.__gnu_cxx::__normal_iterator<const wchar_t*,std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >" = type { i32* }
|
||||
%"struct.__gnu_cxx::char_producer<char>" = type { i32 (...)** }
|
||||
%"struct.__gnu_cxx::stdio_sync_filebuf<char,std::char_traits<char> >" = type { %"struct.std::basic_streambuf<char,std::char_traits<char> >", %struct._IO_FILE*, i32 }
|
||||
%"struct.__gnu_cxx::stdio_sync_filebuf<wchar_t,std::char_traits<wchar_t> >" = type { %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >", %struct._IO_FILE*, i32 }
|
||||
%struct.__locale_struct = type { [13 x %struct.locale_data*], i16*, i32*, i32*, [13 x i8*] }
|
||||
%struct.__mbstate_t = type { i32, %"struct.__gnu_cxx::_Rope_rep_alloc_base<char,std::allocator<char>, true>" }
|
||||
%struct.locale_data = type opaque
|
||||
%"struct.std::__basic_file<char>" = type { %struct._IO_FILE*, i1 }
|
||||
%"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>" = type { %"struct.std::locale::facet" }
|
||||
%"struct.std::basic_filebuf<char,std::char_traits<char> >" = type { %"struct.std::basic_streambuf<char,std::char_traits<char> >", i32, %"struct.std::__basic_file<char>", i32, %struct.__mbstate_t, %struct.__mbstate_t, i8*, i32, i1, i1, i1, i1, i8, i8*, i8*, i1, %"struct.std::codecvt<char,char,__mbstate_t>"*, i8*, i32, i8*, i8* }
|
||||
%"struct.std::basic_filebuf<wchar_t,std::char_traits<wchar_t> >" = type { %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >", i32, %"struct.std::__basic_file<char>", i32, %struct.__mbstate_t, %struct.__mbstate_t, i32*, i32, i1, i1, i1, i1, i32, i32*, i32*, i1, %"struct.std::codecvt<char,char,__mbstate_t>"*, i8*, i32, i8*, i8* }
|
||||
%"struct.std::basic_fstream<char,std::char_traits<char> >" = type { { %"struct.std::locale::facet", %"struct.__gnu_cxx::char_producer<char>" }, %"struct.std::basic_filebuf<char,std::char_traits<char> >", %"struct.std::basic_ios<char,std::char_traits<char> >" }
|
||||
%"struct.std::basic_fstream<wchar_t,std::char_traits<wchar_t> >" = type { { %"struct.std::locale::facet", %"struct.__gnu_cxx::char_producer<char>" }, %"struct.std::basic_filebuf<wchar_t,std::char_traits<wchar_t> >", %"struct.std::basic_ios<wchar_t,std::char_traits<wchar_t> >" }
|
||||
%"struct.std::basic_ios<char,std::char_traits<char> >" = type { %"struct.std::ios_base", %"struct.std::basic_ostream<char,std::char_traits<char> >"*, i8, i1, %"struct.std::basic_streambuf<char,std::char_traits<char> >"*, %"struct.std::ctype<char>"*, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"*, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"* }
|
||||
%"struct.std::basic_ios<wchar_t,std::char_traits<wchar_t> >" = type { %"struct.std::ios_base", %"struct.std::basic_ostream<wchar_t,std::char_traits<wchar_t> >"*, i32, i1, %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >"*, %"struct.std::codecvt<char,char,__mbstate_t>"*, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"*, %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>"* }
|
||||
%"struct.std::basic_iostream<wchar_t,std::char_traits<wchar_t> >" = type { %"struct.std::locale::facet", %"struct.__gnu_cxx::char_producer<char>", %"struct.std::basic_ios<wchar_t,std::char_traits<wchar_t> >" }
|
||||
%"struct.std::basic_ostream<char,std::char_traits<char> >" = type { i32 (...)**, %"struct.std::basic_ios<char,std::char_traits<char> >" }
|
||||
%"struct.std::basic_ostream<wchar_t,std::char_traits<wchar_t> >" = type { i32 (...)**, %"struct.std::basic_ios<wchar_t,std::char_traits<wchar_t> >" }
|
||||
%"struct.std::basic_streambuf<char,std::char_traits<char> >" = type { i32 (...)**, i8*, i8*, i8*, i8*, i8*, i8*, %"struct.std::locale" }
|
||||
%"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >" = type { i32 (...)**, i32*, i32*, i32*, i32*, i32*, i32*, %"struct.std::locale" }
|
||||
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" = type { %"struct.__gnu_cxx::__normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >" }
|
||||
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep" = type { %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" }
|
||||
%"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Rep_base" = type { i32, i32, i32 }
|
||||
%"struct.std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >" = type { %"struct.__gnu_cxx::__normal_iterator<const wchar_t*,std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >" }
|
||||
%"struct.std::codecvt<char,char,__mbstate_t>" = type { %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>", %struct.__locale_struct* }
|
||||
%"struct.std::collate<char>" = type { %"struct.std::locale::facet", %struct.__locale_struct* }
|
||||
%"struct.std::collate_byname<char>" = type { %"struct.std::collate<char>" }
|
||||
%"struct.std::ctype<char>" = type { %"struct.std::__codecvt_abstract_base<char,char,__mbstate_t>", %struct.__locale_struct*, i1, i32*, i32*, i16* }
|
||||
%"struct.std::ctype_byname<char>" = type { %"struct.std::ctype<char>" }
|
||||
%"struct.std::domain_error" = type { %"struct.std::logic_error" }
|
||||
%"struct.std::ios_base" = type { i32 (...)**, i32, i32, i32, i32, i32, %"struct.std::ios_base::_Callback_list"*, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, %"struct.std::ios_base::_Words"*, %"struct.std::locale" }
|
||||
%"struct.std::ios_base::_Callback_list" = type { %"struct.std::ios_base::_Callback_list"*, void (i32, %"struct.std::ios_base"*, i32)*, i32, i32 }
|
||||
%"struct.std::ios_base::_Words" = type { i8*, i32 }
|
||||
%"struct.std::istreambuf_iterator<char,std::char_traits<char> >" = type { %"struct.std::basic_streambuf<char,std::char_traits<char> >"*, i32 }
|
||||
%"struct.std::istreambuf_iterator<wchar_t,std::char_traits<wchar_t> >" = type { %"struct.std::basic_streambuf<wchar_t,std::char_traits<wchar_t> >"*, i32 }
|
||||
%"struct.std::locale" = type { %"struct.std::locale::_Impl"* }
|
||||
%"struct.std::locale::_Impl" = type { i32, %"struct.std::locale::facet"**, i32, %"struct.std::locale::facet"**, i8** }
|
||||
%"struct.std::locale::facet" = type { i32 (...)**, i32 }
|
||||
%"struct.std::logic_error" = type { %"struct.__gnu_cxx::char_producer<char>", %"struct.std::basic_string<char,std::char_traits<char>,std::allocator<char> >" }
|
||||
%"struct.std::type_info" = type { i32 (...)**, i8* }
|
||||
@.str_11 = external global [42 x i8] ; <[42 x i8]*> [#uses=0]
|
||||
@.str_9 = external global [24 x i8] ; <[24 x i8]*> [#uses=0]
|
||||
@.str_1 = external global [17 x i8] ; <[17 x i8]*> [#uses=0]
|
||||
|
||||
define void @main() {
|
||||
entry:
|
||||
tail call fastcc void @_ZNSolsEi( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSolsEi() {
|
||||
entry:
|
||||
%tmp.22 = icmp eq i32 0, 0 ; <i1> [#uses=1]
|
||||
br i1 %tmp.22, label %else, label %then
|
||||
|
||||
then: ; preds = %entry
|
||||
ret void
|
||||
|
||||
else: ; preds = %entry
|
||||
tail call fastcc void @_ZNSolsEl( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate() {
|
||||
entry:
|
||||
tail call fastcc void @_ZSt19__throw_ios_failurePKc( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSo3putEc() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSolsEl() {
|
||||
entry:
|
||||
%tmp.21.i = icmp eq %"struct.std::basic_ostream<char,std::char_traits<char> >"* null, null ; <i1> [#uses=1]
|
||||
br i1 %tmp.21.i, label %endif.0.i, label %shortcirc_next.i
|
||||
|
||||
shortcirc_next.i: ; preds = %entry
|
||||
ret void
|
||||
|
||||
endif.0.i: ; preds = %entry
|
||||
call fastcc void @_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Iostate( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt19__throw_ios_failurePKc() {
|
||||
entry:
|
||||
call fastcc void @_ZNSsC1EPKcRKSaIcE( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt8ios_baseD2Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZN9__gnu_cxx18stdio_sync_filebufIwSt11char_traitsIwEE5uflowEv() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZN9__gnu_cxx18stdio_sync_filebufIcSt11char_traitsIcEED1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZNSt15basic_streambufIcSt11char_traitsIcEE6setbufEPci() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt9use_facetISt5ctypeIcEERKT_RKSt6locale() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
declare fastcc void @_ZNSaIcED1Ev()
|
||||
|
||||
define fastcc void @_ZSt19__throw_logic_errorPKc() {
|
||||
entry:
|
||||
call fastcc void @_ZNSt11logic_errorC1ERKSs( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs4_Rep9_S_createEjRKSaIcE() {
|
||||
entry:
|
||||
br i1 false, label %then.0, label %endif.0
|
||||
|
||||
then.0: ; preds = %entry
|
||||
call fastcc void @_ZSt20__throw_length_errorPKc( )
|
||||
ret void
|
||||
|
||||
endif.0: ; preds = %entry
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt20__throw_length_errorPKc() {
|
||||
entry:
|
||||
call fastcc void @_ZNSt12length_errorC1ERKSs( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs16_S_construct_auxIPKcEEPcT_S3_RKSaIcE12__false_type() {
|
||||
entry:
|
||||
br i1 false, label %then.1.i, label %endif.1.i
|
||||
|
||||
then.1.i: ; preds = %entry
|
||||
call fastcc void @_ZSt19__throw_logic_errorPKc( )
|
||||
ret void
|
||||
|
||||
endif.1.i: ; preds = %entry
|
||||
call fastcc void @_ZNSs4_Rep9_S_createEjRKSaIcE( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSsC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
call fastcc void @_ZNSs4_Rep7_M_grabERKSaIcES2_( )
|
||||
invoke fastcc void @_ZNSaIcEC1ERKS_( )
|
||||
to label %invoke_cont.1 unwind label %invoke_catch.1
|
||||
|
||||
invoke_catch.1: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32}
|
||||
catch i8* null
|
||||
call fastcc void @_ZNSaIcED1Ev( )
|
||||
resume { i8*, i32 } %exn
|
||||
|
||||
invoke_cont.1: ; preds = %entry
|
||||
call fastcc void @_ZNSaIcEC2ERKS_( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs7reserveEj() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSaIcEC1ERKS_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSs4_Rep7_M_grabERKSaIcES2_() {
|
||||
entry:
|
||||
br i1 false, label %else.i, label %cond_true
|
||||
|
||||
cond_true: ; preds = %entry
|
||||
ret void
|
||||
|
||||
else.i: ; preds = %entry
|
||||
tail call fastcc void @_ZNSs4_Rep9_S_createEjRKSaIcE( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSsC1EPKcRKSaIcE() {
|
||||
entry:
|
||||
tail call fastcc void @_ZNSs16_S_construct_auxIPKcEEPcT_S3_RKSaIcE12__false_type( )
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSaIcEC2ERKS_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt7num_putIwSt19ostreambuf_iteratorIwSt11char_traitsIwEEED1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZNSt14collate_bynameIcED1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZNKSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE6do_getES3_S3_RSt8ios_baseRSt12_Ios_IostateRy() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt23__codecvt_abstract_baseIcc11__mbstate_tED1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZNSt12ctype_bynameIcED0Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt8messagesIwEC1Ej() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZSt14__convert_to_vIlEvPKcRT_RSt12_Ios_IostateRKP15__locale_structi() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEEC1Ej() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEEC1Ej() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNKSt7num_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE16_M_extract_floatES3_S3_RSt8ios_baseRSt12_Ios_IostateRSs() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSbIwSt11char_traitsIwESaIwEE4swapERS2_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt14basic_iostreamIwSt11char_traitsIwEED0Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @_ZNSt15basic_streambufIcSt11char_traitsIcEE9showmanycEv() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt9exceptionD0Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt11logic_errorC1ERKSs() {
|
||||
entry:
|
||||
call fastcc void @_ZNSsC1ERKSs( )
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt11logic_errorD2Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt12length_errorC1ERKSs() personality i32 (...)* @__gxx_personality_v0 {
|
||||
entry:
|
||||
invoke fastcc void @_ZNSsC1ERKSs( )
|
||||
to label %_ZNSt11logic_errorC2ERKSs.exit unwind label %invoke_catch.i
|
||||
|
||||
invoke_catch.i: ; preds = %entry
|
||||
%exn = landingpad {i8*, i32}
|
||||
catch i8* null
|
||||
resume { i8*, i32 } %exn
|
||||
|
||||
_ZNSt11logic_errorC2ERKSs.exit: ; preds = %entry
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNK10__cxxabiv120__si_class_type_info20__do_find_public_srcEiPKvPKNS_17__class_type_infoES2_() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSbIwSt11char_traitsIwESaIwEE16_S_construct_auxIPKwEEPwT_S7_RKS1_12__false_type() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZTv0_n12_NSt13basic_fstreamIwSt11char_traitsIwEED1Ev() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @_ZNSt13basic_fstreamIcSt11char_traitsIcEED1Ev() {
|
||||
entry:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define fastcc void @_ZNSt5ctypeIcEC1EPKtbj() {
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
@ -1,69 +0,0 @@
|
||||
; RUN: opt < %s -inline -S | FileCheck %s
|
||||
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
|
||||
; PR1335
|
||||
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
||||
declare i32 @__gxx_personality_v0(...)
|
||||
|
||||
declare void @a()
|
||||
|
||||
declare void @b()
|
||||
|
||||
declare void @c()
|
||||
|
||||
define void @f() {
|
||||
; CHECK-LABEL: define void @f()
|
||||
entry:
|
||||
call void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null ) nounwind
|
||||
; CHECK: call void asm
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @g() personality i32 (...)* @__gxx_personality_v0 {
|
||||
; CHECK-LABEL: define void @g() personality i32 (...)* @__gxx_personality_v0
|
||||
entry:
|
||||
invoke void @a() to label %invcont1 unwind label %cleanup
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: invoke void @a()
|
||||
|
||||
invcont1:
|
||||
invoke void @b() to label %invcont2 unwind label %cleanup
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: invoke void @b()
|
||||
|
||||
invcont2:
|
||||
invoke void @c() to label %invcont3 unwind label %cleanup
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: invoke void @c()
|
||||
|
||||
invcont3:
|
||||
invoke void @f() to label %invcont4 unwind label %cleanup
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: call void asm
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
|
||||
invcont4:
|
||||
ret void
|
||||
|
||||
cleanup:
|
||||
%ex = landingpad {i8*, i32} cleanup
|
||||
resume { i8*, i32 } %ex
|
||||
}
|
||||
|
||||
define void @h() {
|
||||
; CHECK-LABEL: define void @h() personality i32 (...)* @__gxx_personality_v0
|
||||
entry:
|
||||
call void @g()
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: invoke void @a()
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: invoke void @b()
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: invoke void @c()
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
; CHECK: call void asm
|
||||
; CHECK-NOT: {{call|invoke}}
|
||||
|
||||
ret void
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
; RUN: opt < %s -inline -S | FileCheck %s
|
||||
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
|
||||
|
||||
; 'bar' can be overridden at link-time, don't inline it.
|
||||
define weak void @bar() {
|
||||
; CHECK-LABEL: define weak void @bar()
|
||||
entry:
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @foo() {
|
||||
; CHECK-LABEL: define void @foo()
|
||||
entry:
|
||||
tail call void @bar()
|
||||
; CHECK: tail call void @bar()
|
||||
ret void
|
||||
}
|
||||
|
@ -1,35 +0,0 @@
|
||||
; RUN: opt < %s -inline -S | FileCheck %s
|
||||
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
|
||||
|
||||
declare i1 @extern()
|
||||
|
||||
define internal i32 @test() {
|
||||
; CHECK-NOT: define .* @test()
|
||||
entry:
|
||||
%n = call i1 @extern()
|
||||
br i1 %n, label %r, label %u
|
||||
|
||||
r:
|
||||
ret i32 0
|
||||
|
||||
u:
|
||||
unreachable
|
||||
}
|
||||
|
||||
define i32 @caller() {
|
||||
; CHECK-LABEL: define i32 @caller()
|
||||
entry:
|
||||
%X = call i32 @test() nounwind
|
||||
; CHECK-NOT: call i32 @test()
|
||||
; CHECK: call i1 @extern() #0
|
||||
; CHECK: br i1 %{{.*}}, label %[[R:.*]], label %[[U:.*]]
|
||||
|
||||
; CHECK: [[U]]:
|
||||
; CHECK: unreachable
|
||||
|
||||
; CHECK: [[R]]:
|
||||
ret i32 %X
|
||||
; CHECK: ret i32 0
|
||||
}
|
||||
|
||||
; CHECK: attributes #0 = { nounwind }
|
@ -1,17 +0,0 @@
|
||||
; RUN: opt < %s -inline -S | FileCheck %s
|
||||
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
|
||||
|
||||
define i32 @fn2() noinline {
|
||||
; CHECK-LABEL: define i32 @fn2()
|
||||
entry:
|
||||
ret i32 1
|
||||
}
|
||||
|
||||
define i32 @fn3() {
|
||||
; CHECK-LABEL: define i32 @fn3()
|
||||
entry:
|
||||
%r = call i32 @fn2()
|
||||
; CHECK: call i32 @fn2()
|
||||
|
||||
ret i32 %r
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
; RUN: opt < %s -inline -S | FileCheck %s
|
||||
; RUN: opt < %s -passes='cgscc(inline)' -S | FileCheck %s
|
||||
; Do not inline calls with variable-sized alloca.
|
||||
|
||||
@q = common global i8* null
|
||||
|
||||
define i8* @a(i32 %i) nounwind {
|
||||
; CHECK-LABEL: define i8* @a
|
||||
entry:
|
||||
%i_addr = alloca i32
|
||||
%retval = alloca i8*
|
||||
%p = alloca i8*
|
||||
%"alloca point" = bitcast i32 0 to i32
|
||||
store i32 %i, i32* %i_addr
|
||||
%0 = load i32, i32* %i_addr, align 4
|
||||
%1 = alloca i8, i32 %0
|
||||
store i8* %1, i8** %p, align 4
|
||||
%2 = load i8*, i8** %p, align 4
|
||||
store i8* %2, i8** @q, align 4
|
||||
br label %return
|
||||
|
||||
return:
|
||||
%retval1 = load i8*, i8** %retval
|
||||
ret i8* %retval1
|
||||
}
|
||||
|
||||
define void @b(i32 %i) nounwind {
|
||||
; CHECK-LABEL: define void @b
|
||||
entry:
|
||||
%i_addr = alloca i32
|
||||
%"alloca point" = bitcast i32 0 to i32
|
||||
store i32 %i, i32* %i_addr
|
||||
%0 = load i32, i32* %i_addr, align 4
|
||||
%1 = call i8* @a(i32 %0) nounwind
|
||||
; CHECK: call i8* @a
|
||||
br label %return
|
||||
|
||||
return:
|
||||
ret void
|
||||
}
|
@ -1,293 +0,0 @@
|
||||
; RUN: opt < %s -inline -argpromotion -disable-output
|
||||
; ModuleID = '<stdin>'
|
||||
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
|
||||
target triple = "i386-apple-darwin9.6"
|
||||
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
|
||||
@NumNodes = external global i32 ; <i32*> [#uses=0]
|
||||
@"\01LC" = external constant [43 x i8] ; <[43 x i8]*> [#uses=0]
|
||||
@"\01LC1" = external constant [19 x i8] ; <[19 x i8]*> [#uses=0]
|
||||
@"\01LC2" = external constant [17 x i8] ; <[17 x i8]*> [#uses=0]
|
||||
|
||||
declare i32 @dealwithargs(i32, i8** nocapture) nounwind
|
||||
|
||||
declare i32 @atoi(i8*)
|
||||
|
||||
define internal fastcc i32 @adj(i32 %d, i32 %ct) nounwind readnone {
|
||||
entry:
|
||||
switch i32 %d, label %return [
|
||||
i32 0, label %bb
|
||||
i32 1, label %bb10
|
||||
i32 2, label %bb5
|
||||
i32 3, label %bb15
|
||||
]
|
||||
|
||||
bb: ; preds = %entry
|
||||
switch i32 %ct, label %bb3 [
|
||||
i32 1, label %return
|
||||
i32 0, label %return
|
||||
]
|
||||
|
||||
bb3: ; preds = %bb
|
||||
ret i32 0
|
||||
|
||||
bb5: ; preds = %entry
|
||||
switch i32 %ct, label %bb8 [
|
||||
i32 3, label %return
|
||||
i32 2, label %return
|
||||
]
|
||||
|
||||
bb8: ; preds = %bb5
|
||||
ret i32 0
|
||||
|
||||
bb10: ; preds = %entry
|
||||
switch i32 %ct, label %bb13 [
|
||||
i32 1, label %return
|
||||
i32 3, label %return
|
||||
]
|
||||
|
||||
bb13: ; preds = %bb10
|
||||
ret i32 0
|
||||
|
||||
bb15: ; preds = %entry
|
||||
switch i32 %ct, label %bb18 [
|
||||
i32 2, label %return
|
||||
i32 0, label %return
|
||||
]
|
||||
|
||||
bb18: ; preds = %bb15
|
||||
ret i32 0
|
||||
|
||||
return: ; preds = %bb15, %bb15, %bb10, %bb10, %bb5, %bb5, %bb, %bb, %entry
|
||||
ret i32 1
|
||||
}
|
||||
|
||||
declare fastcc i32 @reflect(i32, i32) nounwind readnone
|
||||
|
||||
declare i32 @CountTree(%struct.quad_struct* nocapture) nounwind readonly
|
||||
|
||||
define internal fastcc %struct.quad_struct* @child(%struct.quad_struct* nocapture %tree, i32 %ct) nounwind readonly {
|
||||
entry:
|
||||
switch i32 %ct, label %bb5 [
|
||||
i32 0, label %bb1
|
||||
i32 1, label %bb
|
||||
i32 2, label %bb3
|
||||
i32 3, label %bb2
|
||||
]
|
||||
|
||||
bb: ; preds = %entry
|
||||
%0 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 3 ; <%struct.quad_struct**> [#uses=1]
|
||||
%1 = load %struct.quad_struct*, %struct.quad_struct** %0, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
ret %struct.quad_struct* %1
|
||||
|
||||
bb1: ; preds = %entry
|
||||
%2 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 2 ; <%struct.quad_struct**> [#uses=1]
|
||||
%3 = load %struct.quad_struct*, %struct.quad_struct** %2, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
ret %struct.quad_struct* %3
|
||||
|
||||
bb2: ; preds = %entry
|
||||
%4 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 5 ; <%struct.quad_struct**> [#uses=1]
|
||||
%5 = load %struct.quad_struct*, %struct.quad_struct** %4, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
ret %struct.quad_struct* %5
|
||||
|
||||
bb3: ; preds = %entry
|
||||
%6 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 4 ; <%struct.quad_struct**> [#uses=1]
|
||||
%7 = load %struct.quad_struct*, %struct.quad_struct** %6, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
ret %struct.quad_struct* %7
|
||||
|
||||
bb5: ; preds = %entry
|
||||
ret %struct.quad_struct* null
|
||||
}
|
||||
|
||||
define internal fastcc %struct.quad_struct* @gtequal_adj_neighbor(%struct.quad_struct* nocapture %tree, i32 %d) nounwind readonly {
|
||||
entry:
|
||||
%0 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 6 ; <%struct.quad_struct**> [#uses=1]
|
||||
%1 = load %struct.quad_struct*, %struct.quad_struct** %0, align 4 ; <%struct.quad_struct*> [#uses=4]
|
||||
%2 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 1 ; <i32*> [#uses=1]
|
||||
%3 = load i32, i32* %2, align 4 ; <i32> [#uses=2]
|
||||
%4 = icmp eq %struct.quad_struct* %1, null ; <i1> [#uses=1]
|
||||
br i1 %4, label %bb3, label %bb
|
||||
|
||||
bb: ; preds = %entry
|
||||
%5 = call fastcc i32 @adj(i32 %d, i32 %3) nounwind ; <i32> [#uses=1]
|
||||
%6 = icmp eq i32 %5, 0 ; <i1> [#uses=1]
|
||||
br i1 %6, label %bb3, label %bb1
|
||||
|
||||
bb1: ; preds = %bb
|
||||
%7 = call fastcc %struct.quad_struct* @gtequal_adj_neighbor(%struct.quad_struct* %1, i32 %d) nounwind ; <%struct.quad_struct*> [#uses=1]
|
||||
br label %bb3
|
||||
|
||||
bb3: ; preds = %bb1, %bb, %entry
|
||||
%q.0 = phi %struct.quad_struct* [ %7, %bb1 ], [ %1, %bb ], [ %1, %entry ] ; <%struct.quad_struct*> [#uses=4]
|
||||
%8 = icmp eq %struct.quad_struct* %q.0, null ; <i1> [#uses=1]
|
||||
br i1 %8, label %bb7, label %bb4
|
||||
|
||||
bb4: ; preds = %bb3
|
||||
%9 = getelementptr %struct.quad_struct, %struct.quad_struct* %q.0, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%10 = load i32, i32* %9, align 4 ; <i32> [#uses=1]
|
||||
%11 = icmp eq i32 %10, 2 ; <i1> [#uses=1]
|
||||
br i1 %11, label %bb5, label %bb7
|
||||
|
||||
bb5: ; preds = %bb4
|
||||
%12 = call fastcc i32 @reflect(i32 %d, i32 %3) nounwind ; <i32> [#uses=1]
|
||||
%13 = call fastcc %struct.quad_struct* @child(%struct.quad_struct* %q.0, i32 %12) nounwind ; <%struct.quad_struct*> [#uses=1]
|
||||
ret %struct.quad_struct* %13
|
||||
|
||||
bb7: ; preds = %bb4, %bb3
|
||||
ret %struct.quad_struct* %q.0
|
||||
}
|
||||
|
||||
declare fastcc i32 @sum_adjacent(%struct.quad_struct* nocapture, i32, i32, i32) nounwind readonly
|
||||
|
||||
define i32 @perimeter(%struct.quad_struct* nocapture %tree, i32 %size) nounwind readonly {
|
||||
entry:
|
||||
%0 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
|
||||
%2 = icmp eq i32 %1, 2 ; <i1> [#uses=1]
|
||||
br i1 %2, label %bb, label %bb2
|
||||
|
||||
bb: ; preds = %entry
|
||||
%3 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 4 ; <%struct.quad_struct**> [#uses=1]
|
||||
%4 = load %struct.quad_struct*, %struct.quad_struct** %3, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
%5 = sdiv i32 %size, 2 ; <i32> [#uses=1]
|
||||
%6 = call i32 @perimeter(%struct.quad_struct* %4, i32 %5) nounwind ; <i32> [#uses=1]
|
||||
%7 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 5 ; <%struct.quad_struct**> [#uses=1]
|
||||
%8 = load %struct.quad_struct*, %struct.quad_struct** %7, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
%9 = sdiv i32 %size, 2 ; <i32> [#uses=1]
|
||||
%10 = call i32 @perimeter(%struct.quad_struct* %8, i32 %9) nounwind ; <i32> [#uses=1]
|
||||
%11 = add i32 %10, %6 ; <i32> [#uses=1]
|
||||
%12 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 3 ; <%struct.quad_struct**> [#uses=1]
|
||||
%13 = load %struct.quad_struct*, %struct.quad_struct** %12, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
%14 = sdiv i32 %size, 2 ; <i32> [#uses=1]
|
||||
%15 = call i32 @perimeter(%struct.quad_struct* %13, i32 %14) nounwind ; <i32> [#uses=1]
|
||||
%16 = add i32 %15, %11 ; <i32> [#uses=1]
|
||||
%17 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 2 ; <%struct.quad_struct**> [#uses=1]
|
||||
%18 = load %struct.quad_struct*, %struct.quad_struct** %17, align 4 ; <%struct.quad_struct*> [#uses=1]
|
||||
%19 = sdiv i32 %size, 2 ; <i32> [#uses=1]
|
||||
%20 = call i32 @perimeter(%struct.quad_struct* %18, i32 %19) nounwind ; <i32> [#uses=1]
|
||||
%21 = add i32 %20, %16 ; <i32> [#uses=1]
|
||||
ret i32 %21
|
||||
|
||||
bb2: ; preds = %entry
|
||||
%22 = getelementptr %struct.quad_struct, %struct.quad_struct* %tree, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%23 = load i32, i32* %22, align 4 ; <i32> [#uses=1]
|
||||
%24 = icmp eq i32 %23, 0 ; <i1> [#uses=1]
|
||||
br i1 %24, label %bb3, label %bb23
|
||||
|
||||
bb3: ; preds = %bb2
|
||||
%25 = call fastcc %struct.quad_struct* @gtequal_adj_neighbor(%struct.quad_struct* %tree, i32 0) nounwind ; <%struct.quad_struct*> [#uses=4]
|
||||
%26 = icmp eq %struct.quad_struct* %25, null ; <i1> [#uses=1]
|
||||
br i1 %26, label %bb8, label %bb4
|
||||
|
||||
bb4: ; preds = %bb3
|
||||
%27 = getelementptr %struct.quad_struct, %struct.quad_struct* %25, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%28 = load i32, i32* %27, align 4 ; <i32> [#uses=1]
|
||||
%29 = icmp eq i32 %28, 1 ; <i1> [#uses=1]
|
||||
br i1 %29, label %bb8, label %bb6
|
||||
|
||||
bb6: ; preds = %bb4
|
||||
%30 = getelementptr %struct.quad_struct, %struct.quad_struct* %25, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%31 = load i32, i32* %30, align 4 ; <i32> [#uses=1]
|
||||
%32 = icmp eq i32 %31, 2 ; <i1> [#uses=1]
|
||||
br i1 %32, label %bb7, label %bb8
|
||||
|
||||
bb7: ; preds = %bb6
|
||||
%33 = call fastcc i32 @sum_adjacent(%struct.quad_struct* %25, i32 3, i32 2, i32 %size) nounwind ; <i32> [#uses=1]
|
||||
br label %bb8
|
||||
|
||||
bb8: ; preds = %bb7, %bb6, %bb4, %bb3
|
||||
%retval1.1 = phi i32 [ 0, %bb6 ], [ %33, %bb7 ], [ %size, %bb4 ], [ %size, %bb3 ] ; <i32> [#uses=3]
|
||||
%34 = call fastcc %struct.quad_struct* @gtequal_adj_neighbor(%struct.quad_struct* %tree, i32 1) nounwind ; <%struct.quad_struct*> [#uses=4]
|
||||
%35 = icmp eq %struct.quad_struct* %34, null ; <i1> [#uses=1]
|
||||
br i1 %35, label %bb10, label %bb9
|
||||
|
||||
bb9: ; preds = %bb8
|
||||
%36 = getelementptr %struct.quad_struct, %struct.quad_struct* %34, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%37 = load i32, i32* %36, align 4 ; <i32> [#uses=1]
|
||||
%38 = icmp eq i32 %37, 1 ; <i1> [#uses=1]
|
||||
br i1 %38, label %bb10, label %bb11
|
||||
|
||||
bb10: ; preds = %bb9, %bb8
|
||||
%39 = add i32 %retval1.1, %size ; <i32> [#uses=1]
|
||||
br label %bb13
|
||||
|
||||
bb11: ; preds = %bb9
|
||||
%40 = getelementptr %struct.quad_struct, %struct.quad_struct* %34, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%41 = load i32, i32* %40, align 4 ; <i32> [#uses=1]
|
||||
%42 = icmp eq i32 %41, 2 ; <i1> [#uses=1]
|
||||
br i1 %42, label %bb12, label %bb13
|
||||
|
||||
bb12: ; preds = %bb11
|
||||
%43 = call fastcc i32 @sum_adjacent(%struct.quad_struct* %34, i32 2, i32 0, i32 %size) nounwind ; <i32> [#uses=1]
|
||||
%44 = add i32 %43, %retval1.1 ; <i32> [#uses=1]
|
||||
br label %bb13
|
||||
|
||||
bb13: ; preds = %bb12, %bb11, %bb10
|
||||
%retval1.2 = phi i32 [ %retval1.1, %bb11 ], [ %44, %bb12 ], [ %39, %bb10 ] ; <i32> [#uses=3]
|
||||
%45 = call fastcc %struct.quad_struct* @gtequal_adj_neighbor(%struct.quad_struct* %tree, i32 2) nounwind ; <%struct.quad_struct*> [#uses=4]
|
||||
%46 = icmp eq %struct.quad_struct* %45, null ; <i1> [#uses=1]
|
||||
br i1 %46, label %bb15, label %bb14
|
||||
|
||||
bb14: ; preds = %bb13
|
||||
%47 = getelementptr %struct.quad_struct, %struct.quad_struct* %45, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%48 = load i32, i32* %47, align 4 ; <i32> [#uses=1]
|
||||
%49 = icmp eq i32 %48, 1 ; <i1> [#uses=1]
|
||||
br i1 %49, label %bb15, label %bb16
|
||||
|
||||
bb15: ; preds = %bb14, %bb13
|
||||
%50 = add i32 %retval1.2, %size ; <i32> [#uses=1]
|
||||
br label %bb18
|
||||
|
||||
bb16: ; preds = %bb14
|
||||
%51 = getelementptr %struct.quad_struct, %struct.quad_struct* %45, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%52 = load i32, i32* %51, align 4 ; <i32> [#uses=1]
|
||||
%53 = icmp eq i32 %52, 2 ; <i1> [#uses=1]
|
||||
br i1 %53, label %bb17, label %bb18
|
||||
|
||||
bb17: ; preds = %bb16
|
||||
%54 = call fastcc i32 @sum_adjacent(%struct.quad_struct* %45, i32 0, i32 1, i32 %size) nounwind ; <i32> [#uses=1]
|
||||
%55 = add i32 %54, %retval1.2 ; <i32> [#uses=1]
|
||||
br label %bb18
|
||||
|
||||
bb18: ; preds = %bb17, %bb16, %bb15
|
||||
%retval1.3 = phi i32 [ %retval1.2, %bb16 ], [ %55, %bb17 ], [ %50, %bb15 ] ; <i32> [#uses=3]
|
||||
%56 = call fastcc %struct.quad_struct* @gtequal_adj_neighbor(%struct.quad_struct* %tree, i32 3) nounwind ; <%struct.quad_struct*> [#uses=4]
|
||||
%57 = icmp eq %struct.quad_struct* %56, null ; <i1> [#uses=1]
|
||||
br i1 %57, label %bb20, label %bb19
|
||||
|
||||
bb19: ; preds = %bb18
|
||||
%58 = getelementptr %struct.quad_struct, %struct.quad_struct* %56, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%59 = load i32, i32* %58, align 4 ; <i32> [#uses=1]
|
||||
%60 = icmp eq i32 %59, 1 ; <i1> [#uses=1]
|
||||
br i1 %60, label %bb20, label %bb21
|
||||
|
||||
bb20: ; preds = %bb19, %bb18
|
||||
%61 = add i32 %retval1.3, %size ; <i32> [#uses=1]
|
||||
ret i32 %61
|
||||
|
||||
bb21: ; preds = %bb19
|
||||
%62 = getelementptr %struct.quad_struct, %struct.quad_struct* %56, i32 0, i32 0 ; <i32*> [#uses=1]
|
||||
%63 = load i32, i32* %62, align 4 ; <i32> [#uses=1]
|
||||
%64 = icmp eq i32 %63, 2 ; <i1> [#uses=1]
|
||||
br i1 %64, label %bb22, label %bb23
|
||||
|
||||
bb22: ; preds = %bb21
|
||||
%65 = call fastcc i32 @sum_adjacent(%struct.quad_struct* %56, i32 1, i32 3, i32 %size) nounwind ; <i32> [#uses=1]
|
||||
%66 = add i32 %65, %retval1.3 ; <i32> [#uses=1]
|
||||
ret i32 %66
|
||||
|
||||
bb23: ; preds = %bb21, %bb2
|
||||
%retval1.0 = phi i32 [ 0, %bb2 ], [ %retval1.3, %bb21 ] ; <i32> [#uses=1]
|
||||
ret i32 %retval1.0
|
||||
}
|
||||
|
||||
declare i32 @main(i32, i8** nocapture) noreturn nounwind
|
||||
|
||||
declare i32 @printf(i8*, ...) nounwind
|
||||
|
||||
declare void @exit(i32) noreturn nounwind
|
||||
|
||||
declare fastcc i32 @CheckOutside(i32, i32) nounwind readnone
|
||||
|
||||
declare fastcc i32 @CheckIntersect(i32, i32, i32) nounwind readnone
|
||||
|
||||
declare %struct.quad_struct* @MakeTree(i32, i32, i32, i32, i32, %struct.quad_struct*, i32, i32) nounwind
|
@ -1,20 +0,0 @@
|
||||
; RUN: opt < %s -inline -disable-output
|
||||
; PR4123
|
||||
%struct.S0 = type <{ i32 }>
|
||||
%struct.S1 = type <{ i8, i8, i8, i8, %struct.S0 }>
|
||||
%struct.S2 = type <{ %struct.S1, i32 }>
|
||||
|
||||
define void @func_113(%struct.S1* noalias nocapture sret %agg.result, i8 signext %p_114) noreturn nounwind {
|
||||
entry:
|
||||
unreachable
|
||||
|
||||
for.inc: ; preds = %for.inc
|
||||
%call48 = call fastcc signext i8 @safe_sub_func_uint8_t_u_u(i8 signext %call48) ; <i8> [#uses=1]
|
||||
br label %for.inc
|
||||
}
|
||||
|
||||
define fastcc signext i8 @safe_sub_func_uint8_t_u_u(i8 signext %_ui1) nounwind readnone {
|
||||
entry:
|
||||
ret i8 %_ui1
|
||||
}
|
||||
|
@ -1,28 +0,0 @@
|
||||
; RUN: opt -inline -mergefunc -disable-output < %s
|
||||
|
||||
; This tests for a bug where the inliner kept the functions in a ValueMap after
|
||||
; it had completed and a ModulePass started to run. LLVM would crash deleting
|
||||
; a function that was still a key in the ValueMap.
|
||||
|
||||
define internal fastcc void @list_Cdr1918() nounwind inlinehint {
|
||||
unreachable
|
||||
}
|
||||
|
||||
define internal fastcc void @list_PairSecond1927() nounwind inlinehint {
|
||||
call fastcc void @list_Cdr1918() nounwind inlinehint
|
||||
unreachable
|
||||
}
|
||||
|
||||
define internal fastcc void @list_Cdr3164() nounwind inlinehint {
|
||||
unreachable
|
||||
}
|
||||
|
||||
define internal fastcc void @list_Nconc3167() nounwind inlinehint {
|
||||
call fastcc void @list_Cdr3164() nounwind inlinehint
|
||||
unreachable
|
||||
}
|
||||
|
||||
define void @term_Equal() nounwind {
|
||||
call fastcc void @list_Cdr3164() nounwind inlinehint
|
||||
unreachable
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user