[AMDGPU] Refactor HSAMetadataStream::emitKernel (NFC)
authorScott Linder <scott@scottlinder.com>
Tue, 10 Jul 2018 17:31:32 +0000 (17:31 +0000)
committerScott Linder <scott@scottlinder.com>
Tue, 10 Jul 2018 17:31:32 +0000 (17:31 +0000)
commit2ad2c18b82dfda08a53917894a892d0246f5ed3c
tree7d304a72e6d3de48d4c0ddcdca53ecd57ee753cf
parentdd4d2ac607eea23614a52ac92bdac9d446279a57
[AMDGPU] Refactor HSAMetadataStream::emitKernel (NFC)

Move all metadata construction into AMDGPUHSAMetadataStreamer.

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

llvm-svn: 336707
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.cpp
llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.h
llvm/lib/Target/AMDGPU/SIProgramInfo.h [new file with mode: 0644]