1; RUN: llvm-as %s -o %t.bc 2; RUN: llvm-c-test --module-list-functions < %t.bc| FileCheck %s 3; RUN: llvm-c-test --module-dump < %t.bc| FileCheck --check-prefix=MOD %s 4; RUN: llvm-c-test --lazy-module-dump < %t.bc| FileCheck --check-prefix=LMOD %s 5 6; MOD: define i32 @X() { 7; MOD-NEXT: entry: 8 9; LMOD: ; Materializable 10; LMOD-NEXT: define i32 @X() {} 11 12define i32 @X() { 13entry: 14 br label %l1 15 16l1: 17 br label %l2 18 19l2: 20 br label %l3 21 22l3: 23 ret i32 1234 24} 25;CHECK: FunctionDefinition: X [#bb=4] 26 27 28define i32 @Z(i32 %a) { 29entry: 30 %0 = tail call i32 @Y(i32 %a) 31 ret i32 %0 32} 33 34;CHECK: FunctionDefinition: Z [#bb=1] 35;CHECK: calls: Y 36;CHECK: #isn: 2 37 38declare i32 @Y(i32) 39;CHECK: FunctionDeclaration: Y 40 41