aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-05-05 17:03:33 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-05-05 17:03:33 +0000
commitfcfaea4cffe5e5ea0b71f85acf21a00017542ec8 (patch)
tree1617194146331bdf46dcf6b7acbd99d9a3af16fc /llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
parent474eb019b4cdad4d2cc6348e133bbc23637ef9bf (diff)
downloadllvm-fcfaea4cffe5e5ea0b71f85acf21a00017542ec8.zip
llvm-fcfaea4cffe5e5ea0b71f85acf21a00017542ec8.tar.gz
llvm-fcfaea4cffe5e5ea0b71f85acf21a00017542ec8.tar.bz2
AMDGPU/SI: Add support for AMD code object version 2.
Summary: Version 2 is now the default. If you want to emit version 1, use the amdgcn--amdhsa-amdcov1 triple. Reviewers: arsenm, kzhuravl Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D19283 llvm-svn: 268647
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h')
-rw-r--r--llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h b/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
index 921341e..f530e09 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
@@ -28,24 +28,6 @@ class AMDGPUTargetObjectFile : public TargetLoweringObjectFileELF {
const TargetMachine &TM) const override;
};
-class AMDGPUHSATargetObjectFile final : public AMDGPUTargetObjectFile {
-private:
- MCSection *DataGlobalAgentSection;
- MCSection *DataGlobalProgramSection;
- MCSection *RodataReadonlyAgentSection;
-
- bool isAgentAllocationSection(const char *SectionName) const;
- bool isAgentAllocation(const GlobalValue *GV) const;
- bool isProgramAllocation(const GlobalValue *GV) const;
-
-public:
- void Initialize(MCContext &Ctx, const TargetMachine &TM) override;
-
- MCSection *SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind,
- Mangler &Mang,
- const TargetMachine &TM) const override;
-};
-
} // end namespace llvm
#endif