summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/runtime-metadata.ll
Commit message (Collapse)AuthorAgeFilesLines
* [AMDGPU] Restructure code object metadata creationKonstantin Zhuravlyov2017-03-221-406/+0
| | | | | | | | | | | | | | | | | - Rename runtime metadata -> code object metadata - Make metadata not flow - Switch enums to use ScalarEnumerationTraits - Cleanup and move AMDGPUCodeObjectMetadata.h to AMDGPU/MCTargetDesc - Introduce in-memory representation for attributes - Code object metadata streamer - Create metadata for isa and printf during EmitStartOfAsmFile - Create metadata for kernel during EmitFunctionBodyStart - Finalize and emit metadata to .note during EmitEndOfAsmFile - Other minor improvements/bug fixes Differential Revision: https://reviews.llvm.org/D29948 llvm-svn: 298552
* [AMDGPU] Add target information that is required by tools to metadataKonstantin Zhuravlyov2017-02-081-4/+8
| | | | | | Differential Revision: https://reviews.llvm.org/D28760#fb670e28 llvm-svn: 294449
* llvm-readobj: fix next note entry calculation and print unknown note typesKonstantin Zhuravlyov2017-02-021-1/+7
| | | | | | Differential Revision: https://reviews.llvm.org/D29131 llvm-svn: 293964
* [AMDGPU] Fix runtime-metadata.ll test so it doesn't leave an object file in ↵Justin Lebar2016-12-141-1/+1
| | | | | | the source tree. llvm-svn: 289742
* AMDGPU: Emit runtime metadata version 2 as YAMLYaxun Liu2016-12-141-2285/+208
| | | | | | Differential Revision: https://reviews.llvm.org/D25046 llvm-svn: 289674
* AMDGPU: Emit runtime metadata as a note element in .note sectionYaxun Liu2016-11-101-63/+9
| | | | | | | | | | | | Currently runtime metadata is emitted as an ELF section with name .AMDGPU.runtime_metadata. However there is a standard way to convey vendor specific information about how to run an ELF binary, which is called vendor-specific note element (http://www.netbsd.org/docs/kernel/elf-notes.html). This patch lets AMDGPU backend emits runtime metadata as a note element in .note section. Differential Revision: https://reviews.llvm.org/D25781 llvm-svn: 286502
* AMDGPU: Add hidden kernel arguments to runtime metadataYaxun Liu2016-09-071-31/+1326
| | | | | | | | OpenCL kernels have hidden kernel arguments for global offset and printf buffer. For consistency, these hidden argument should be included in the runtime metadata. Also updated kernel argument kind metadata. Differential Revision: https://reviews.llvm.org/D23424 llvm-svn: 280829
* AMDGPU: Add runtime metadata for pointee alignment of argument.Yaxun Liu2016-09-011-0/+167
| | | | | | | | Add runtime metdata for pointee alignment of pointer type kernel argument. The key is KeyArgPointeeAlign and the value is a 32 bit unsigned integer. Differential Revision: https://reviews.llvm.org/D24145 llvm-svn: 280399
* [OpenCL] Add missing tests for getOCLTypeNameYaxun Liu2016-08-041-0/+217
| | | | | | | | | | Adding missing tests for OCL type names for half, float, double, char, short, long, and unknown. Patch by Aaron En Ye Shi. Differential Revision: https://reviews.llvm.org/D22964 llvm-svn: 277759
* Re-commit [AMDGPU] Add metadata for runtimeYaxun Liu2016-07-161-0/+848
| | | | | | Attempting to fix lit test failure on ppc. llvm-svn: 275676
* Revert "[AMDGPU] Add metadata for runtime"Vitaly Buka2016-07-151-848/+0
| | | | | | This reverts commit r275566. llvm-svn: 275599
* [AMDGPU] Add metadata for runtimeYaxun Liu2016-07-151-0/+848
Added emitting metadata to elf for runtime. Runtime requires certain information (metadata) about kernels to be able to execute and query them. Such information is emitted to an elf section as a key-value pair stream. Differential Revision: https://reviews.llvm.org/D21849 llvm-svn: 275566
OpenPOWER on IntegriCloud