summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/internalize.ll
Commit message (Collapse)AuthorAgeFilesLines
* AMDGPU: Stop forcing internalize at -O0Matt Arsenault2018-08-311-3/+4
| | | | | | | This doesn't really matter if clang is always emitting the visibility as hidden by default. llvm-svn: 341168
* [AMDGPU] Port of HSAIL inlinerStanislav Mekhanoshin2017-09-201-15/+5
| | | | | | Differential Revision: https://reviews.llvm.org/D36849 llvm-svn: 313714
* AMDGPU: Run internalize symbols at -O0Matt Arsenault2017-09-191-15/+48
| | | | | | | | The relocations used for externally visible functions aren't supported, so the direct call emitted ends up hitting a linker error. llvm-svn: 313616
* AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernelMatt Arsenault2017-03-211-2/+2
| | | | | | | | | | | | Currently the default C calling convention functions are treated the same as compute kernels. Make this explicit so the default calling convention can be changed to a non-kernel. Converted with perl -pi -e 's/define void/define amdgpu_kernel void/' on the relevant test directories (and undoing in one place that actually wanted a non-kernel). llvm-svn: 298444
* [AMDGPU] Internalize non-kernel symbolsStanislav Mekhanoshin2017-01-301-0/+35
Since we have no call support and late linking we can produce code only for used symbols. This saves compilation time, size of the final executable, and size of any intermediate dumps. Run Internalize pass early in the opt pipeline followed by global DCE pass. To enable it RT can pass -amdgpu-internalize-symbols option. Differential Revision: https://reviews.llvm.org/D29214 llvm-svn: 293549
OpenPOWER on IntegriCloud