1 ; RUN: opt -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-read-summary=%S/Inputs/export.yaml -wholeprogramdevirt-write-summary=%t -S -o - %s | FileCheck %s
2 ; RUN: FileCheck --check-prefix=SUMMARY %s < %t
4 ; SUMMARY-NOT: TypeTests:
7 ; SUMMARY-NEXT: typeid4:
9 ; SUMMARY-NEXT: Kind: Unsat
10 ; SUMMARY-NEXT: SizeM1BitWidth: 0
11 ; SUMMARY-NEXT: AlignLog2: 0
12 ; SUMMARY-NEXT: SizeM1: 0
13 ; SUMMARY-NEXT: BitMask: 0
14 ; SUMMARY-NEXT: InlineBits: 0
15 ; SUMMARY-NEXT: WPDRes:
17 ; SUMMARY-NEXT: Kind: Indir
18 ; SUMMARY-NEXT: SingleImplName: ''
19 ; SUMMARY-NEXT: ResByArg:
20 ; SUMMARY-NEXT: 24,12:
21 ; SUMMARY-NEXT: Kind: UniformRetVal
22 ; SUMMARY-NEXT: Info: 36
23 ; SUMMARY-NEXT: Byte: 0
24 ; SUMMARY-NEXT: Bit: 0
26 ; CHECK: @vt4a = constant i32 (i8*, i32, i32)* @vf4a
27 @vt4a = constant i32 (i8*, i32, i32)* @vf4a, !type !0
29 ; CHECK: @vt4b = constant i32 (i8*, i32, i32)* @vf4b
30 @vt4b = constant i32 (i8*, i32, i32)* @vf4b, !type !0
32 define i32 @vf4a(i8*, i32 %x, i32 %y) {
37 define i32 @vf4b(i8*, i32 %x, i32 %y) {
41 !0 = !{i32 0, !"typeid4"}