llvm/lib/Target/R600/MCTargetDesc
Tom Stellard b664d47cb0 R600/SI: Store constant initializer data in constant memory
This implements a solution for constant initializers suggested
by Vadim Girlin, where we store the data after the shader code
and then use the S_GETPC instruction to compute its address.

This saves use the trouble of creating a new buffer for constant data
and then having to pass the pointer to the kernel via user SGPRs or the
input buffer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213530 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-21 14:01:14 +00:00
..
AMDGPUAsmBackend.cpp R600/SI: Store constant initializer data in constant memory 2014-07-21 14:01:14 +00:00
AMDGPUELFObjectWriter.cpp R600/SI: Store constant initializer data in constant memory 2014-07-21 14:01:14 +00:00
AMDGPUFixupKinds.h R600/SI: Store constant initializer data in constant memory 2014-07-21 14:01:14 +00:00
AMDGPUMCAsmInfo.cpp [C++] Use 'nullptr'. Target edition. 2014-04-25 05:30:21 +00:00
AMDGPUMCAsmInfo.h [C++11] Add 'override' keywords and remove 'virtual'. Additionally add 'final' and leave 'virtual' on some methods that are marked virtual without overriding anything and have no obvious overrides themselves. R600 edition 2014-04-29 07:57:24 +00:00
AMDGPUMCCodeEmitter.cpp [weak vtables] Remove a bunch of weak vtables 2013-11-19 00:57:56 +00:00
AMDGPUMCCodeEmitter.h R600/SI: Use a custom encoding method for simm16 in SOPP branch instructions 2014-07-21 14:01:08 +00:00
AMDGPUMCTargetDesc.cpp [cleanup] Lift using directives, DEBUG_TYPE definitions, and even some 2014-04-22 02:03:14 +00:00
AMDGPUMCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
CMakeLists.txt [CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen. 2013-11-28 17:04:04 +00:00
LLVMBuild.txt LLVMBuild.txt: Add missing dependencies. 2014-04-10 11:16:47 +00:00
Makefile
R600MCCodeEmitter.cpp Convert some assert(0) to llvm_unreachable or fold an 'if' condition into the assert. 2014-06-19 06:10:58 +00:00
SIMCCodeEmitter.cpp R600/SI: Store constant initializer data in constant memory 2014-07-21 14:01:14 +00:00