[clang][NFC] simplify the unset check in `ParseLabeledStatement` (#117430)
[llvm-project.git] / llvm / lib / Target / AMDGPU / AMDGPUTargetObjectFile.h
blobed564ec1ad54741ed6ed0fe4f13f89bf4831a6ef
1 //===-- AMDGPUTargetObjectFile.h - AMDGPU Object Info ----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 /// \file
10 /// This file declares the AMDGPU-specific subclass of
11 /// TargetLoweringObjectFile.
12 ///
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
16 #define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
18 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
20 namespace llvm {
22 class AMDGPUTargetObjectFile : public TargetLoweringObjectFileELF {
23 public:
24 MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
25 const TargetMachine &TM) const override;
26 MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
27 const TargetMachine &TM) const override;
30 } // end namespace llvm
32 #endif