diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-07-13 03:06:39 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2014-07-13 03:06:39 +0000 |
commit | 762af96f4638a2e22b7446ad0d528d2d332e922f (patch) | |
tree | 7f27331bb1ecacc858d8a0baa72d835681a644bd /llvm/lib/Target/R600/AMDGPUMachineFunction.h | |
parent | 7d5e2cb09f20caa09c7afd6e29ed9598afbda71c (diff) | |
download | llvm-762af96f4638a2e22b7446ad0d528d2d332e922f.zip llvm-762af96f4638a2e22b7446ad0d528d2d332e922f.tar.gz llvm-762af96f4638a2e22b7446ad0d528d2d332e922f.tar.bz2 |
R600: Make ShaderType private
llvm-svn: 212896
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUMachineFunction.h')
-rw-r--r-- | llvm/lib/Target/R600/AMDGPUMachineFunction.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUMachineFunction.h b/llvm/lib/Target/R600/AMDGPUMachineFunction.h index fea0b39..0854d58 100644 --- a/llvm/lib/Target/R600/AMDGPUMachineFunction.h +++ b/llvm/lib/Target/R600/AMDGPUMachineFunction.h @@ -20,14 +20,19 @@ namespace llvm { class AMDGPUMachineFunction : public MachineFunctionInfo { virtual void anchor(); + unsigned ShaderType; + public: AMDGPUMachineFunction(const MachineFunction &MF); - unsigned ShaderType; /// A map to keep track of local memory objects and their offsets within /// the local memory space. std::map<const GlobalValue *, unsigned> LocalMemoryObjects; /// Number of bytes in the LDS that are being used. unsigned LDSSize; + + unsigned getShaderType() const { + return ShaderType; + } }; } |