Files
clang-p2996/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-indir.yaml
Peter Collingbourne 2b33f65317 IR: Type ID summary extensions for WPD; thread summary into WPD pass.
Make the whole thing testable by adding YAML I/O support for the WPD
summary information and adding some negative tests that exercise the
YAML support.

Differential Revision: https://reviews.llvm.org/D29782

llvm-svn: 294981
2017-02-13 19:26:18 +00:00

42 lines
804 B
YAML

---
GlobalValueMap:
42:
- TypeTestAssumeVCalls:
- GUID: 123
Offset: 0
- GUID: 456
Offset: 4
TypeCheckedLoadVCalls:
- GUID: 789
Offset: 8
- GUID: 1234
Offset: 16
TypeTestAssumeConstVCalls:
- VFunc:
GUID: 123
Offset: 4
Args: [12, 24]
TypeCheckedLoadConstVCalls:
- VFunc:
GUID: 456
Offset: 8
Args: [24, 12]
TypeIdMap:
typeid1:
WPDRes:
0:
Kind: Indir
4:
Kind: Indir
ResByArg:
"":
Kind: UniformRetVal
Info: 12
12:
Kind: UniformRetVal
Info: 24
"12,24":
Kind: UniformRetVal
Info: 48
...