diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:17:27 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-18 16:17:27 +0000 |
commit | 67c32a98315f785a9ec9d531c1f571a0196c7463 (patch) | |
tree | 4abb9cbeecc7901726dd0b4a37369596c852e9ef /lib/Target/R600/AMDGPUMachineFunction.h | |
parent | 9f61947910e6ab40de38e6b4034751ef1513200f (diff) |
Diffstat (limited to 'lib/Target/R600/AMDGPUMachineFunction.h')
-rw-r--r-- | lib/Target/R600/AMDGPUMachineFunction.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/Target/R600/AMDGPUMachineFunction.h b/lib/Target/R600/AMDGPUMachineFunction.h index 0854d588eeba8..f5e4694e76f6f 100644 --- a/lib/Target/R600/AMDGPUMachineFunction.h +++ b/lib/Target/R600/AMDGPUMachineFunction.h @@ -10,8 +10,8 @@ /// \file //===----------------------------------------------------------------------===// -#ifndef AMDGPUMACHINEFUNCTION_H -#define AMDGPUMACHINEFUNCTION_H +#ifndef LLVM_LIB_TARGET_R600_AMDGPUMACHINEFUNCTION_H +#define LLVM_LIB_TARGET_R600_AMDGPUMACHINEFUNCTION_H #include "llvm/CodeGen/MachineFunction.h" #include <map> @@ -30,10 +30,16 @@ public: /// Number of bytes in the LDS that are being used. unsigned LDSSize; + /// Start of implicit kernel args + unsigned ABIArgOffset; + unsigned getShaderType() const { return ShaderType; } + + unsigned ScratchSize; + bool IsKernel; }; } -#endif // AMDGPUMACHINEFUNCTION_H +#endif |