reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | ; RUN: opt < %s -deadargelim -S | FileCheck %s ; rdar://11546243 %struct.A = type { i8 } define available_externally void @_Z17externallyDefinedP1A(%struct.A* %a) { entry: call void @_Z3foov() ret void } declare void @_Z3foov() define void @_Z4testP1A(%struct.A* %a) { ; CHECK: @_Z4testP1A ; CHECK: @_Z17externallyDefinedP1A(%struct.A* %a) entry: call void @_Z17externallyDefinedP1A(%struct.A* %a) ret void } |