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