llvm-project/llvm/test/Transforms/WholeProgramDevirt
Peter Collingbourne 184773d81f WholeProgramDevirt: For VCP use a 32-bit ConstantInt for the byte offset.
A future change will cause this byte offset to be inttoptr'd and then exported
via an absolute symbol. On the importing end we will expect the symbol to be
in range [0,2^32) so that it will fit into a 32-bit relocation. The problem
is that on 64-bit architectures if the offset is negative it will not be in
the correct range once we inttoptr it.

This change causes us to use a 32-bit integer so that it can be inttoptr'd
(which zero extends) into the correct range.

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

llvm-svn: 295487
2017-02-17 19:43:45 +00:00
..
Inputs IR: Type ID summary extensions for WPD; thread summary into WPD pass. 2017-02-13 19:26:18 +00:00
bad-read-from-vtable.ll LowerTypeTests: Change a few vtable globals in tests to constants. 2017-02-09 01:48:24 +00:00
constant-arg.ll IR: Introduce llvm.type.checked.load intrinsic. 2016-06-25 00:23:04 +00:00
devirt-single-impl-check.ll WholeProgramDevirt: generate more detailed and accurate remarks. 2016-08-11 19:09:02 +00:00
devirt-single-impl.ll WholeProgramDevirt: generate more detailed and accurate remarks. 2016-08-11 19:09:02 +00:00
expand-check.ll IR: Introduce llvm.type.checked.load intrinsic. 2016-06-25 00:23:04 +00:00
export-nothing.ll IR: Type ID summary extensions for WPD; thread summary into WPD pass. 2017-02-13 19:26:18 +00:00
import-indir.ll IR: Type ID summary extensions for WPD; thread summary into WPD pass. 2017-02-13 19:26:18 +00:00
non-constant-vtable.ll Print remarks from WholeProgramDevirt pass for each call site. 2016-07-12 02:38:37 +00:00
pointer-vtable.ll WholeProgramDevirt: Teach the pass to handle structs of arrays. 2016-12-09 01:10:11 +00:00
soa-vtable.ll WholeProgramDevirt: Teach the pass to handle structs of arrays. 2016-12-09 01:10:11 +00:00
struct-vtable.ll Make WholeProgramDevirt understand ConstStruct vtables. 2016-12-09 00:33:27 +00:00
uniform-retval-invoke.ll
uniform-retval.ll
unique-retval.ll Re-apply r295110 and r295144 with a fix for the ASan issue. 2017-02-15 21:56:51 +00:00
vcp-accesses-memory.ll WholeProgramDevirt: Examine the function body when deciding whether functions are readnone. 2017-02-17 18:17:04 +00:00
vcp-decl.ll WholeProgramDevirt: Check that VCP candidate functions are defined before evaluating them. 2017-02-09 23:46:26 +00:00
vcp-no-this.ll LowerTypeTests: Change a few vtable globals in tests to constants. 2017-02-09 01:48:24 +00:00
vcp-non-constant-arg.ll LowerTypeTests: Change a few vtable globals in tests to constants. 2017-02-09 01:48:24 +00:00
vcp-too-wide-ints.ll Re-apply r295110 and r295144 with a fix for the ASan issue. 2017-02-15 21:56:51 +00:00
vcp-type-mismatch.ll Re-apply r295110 and r295144 with a fix for the ASan issue. 2017-02-15 21:56:51 +00:00
vcp-uses-this.ll LowerTypeTests: Change a few vtable globals in tests to constants. 2017-02-09 01:48:24 +00:00
virtual-const-prop-begin.ll WholeProgramDevirt: For VCP use a 32-bit ConstantInt for the byte offset. 2017-02-17 19:43:45 +00:00
virtual-const-prop-check.ll WholeProgramDevirt: For VCP use a 32-bit ConstantInt for the byte offset. 2017-02-17 19:43:45 +00:00
virtual-const-prop-end.ll WholeProgramDevirt: For VCP use a 32-bit ConstantInt for the byte offset. 2017-02-17 19:43:45 +00:00