1 ; RUN: opt -wholeprogramdevirt -wholeprogramdevirt-summary-action=export -wholeprogramdevirt-read-summary=%S/Inputs/export.yaml -wholeprogramdevirt-write-summary=%t -o /dev/null %s
2 ; RUN: FileCheck %s < %t
4 ; CHECK: TypeTests: [ 15427464259790519041, 17525413373118030901 ]
5 ; CHECK-NEXT: TypeTestAssumeVCalls:
7 @vt1a = constant void (i8*)* @vf1a, !type !0
8 @vt1b = constant void (i8*)* @vf1b, !type !0
9 @vt2a = constant void (i8*)* @vf2a, !type !1
10 @vt2b = constant void (i8*)* @vf2b, !type !1
11 @vt3a = constant void (i8*)* @vf3a, !type !2
12 @vt3b = constant void (i8*)* @vf3b, !type !2
13 @vt4a = constant void (i8*)* @vf4a, !type !3
14 @vt4b = constant void (i8*)* @vf4b, !type !3
16 declare void @vf1a(i8*)
17 declare void @vf1b(i8*)
18 declare void @vf2a(i8*)
19 declare void @vf2b(i8*)
20 declare void @vf3a(i8*)
21 declare void @vf3b(i8*)
22 declare void @vf4a(i8*)
23 declare void @vf4b(i8*)
25 !0 = !{i32 0, !"typeid1"}
26 !1 = !{i32 0, !"typeid2"}
27 !2 = !{i32 0, !"typeid3"}
28 !3 = !{i32 0, !"typeid4"}