]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h
Update the GNU DTS file from Linux 4.11
[FreeBSD/FreeBSD.git] / contrib / llvm / lib / Target / AMDGPU / AMDGPUTargetObjectFile.h
1 //===-- AMDGPUTargetObjectFile.h - AMDGPU  Object Info ----*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief This file declares the AMDGPU-specific subclass of
12 /// TargetLoweringObjectFile.
13 ///
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
17 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
18
19 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
20 #include "llvm/Target/TargetMachine.h"
21
22 namespace llvm {
23
24 class AMDGPUTargetObjectFile : public TargetLoweringObjectFileELF {
25   public:
26     MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
27                                       const TargetMachine &TM) const override;
28 };
29
30 } // end namespace llvm
31
32 #endif