AMDGPUTargetObjectFile.h revision 355940
143725Syokota//===-- AMDGPUTargetObjectFile.h - AMDGPU  Object Info ----*- C++ -*-===//
243725Syokota//
343725Syokota// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
443725Syokota// See https://llvm.org/LICENSE.txt for license information.
543725Syokota// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
643725Syokota//
743725Syokota//===----------------------------------------------------------------------===//
843725Syokota///
943725Syokota/// \file
1043725Syokota/// This file declares the AMDGPU-specific subclass of
1143725Syokota/// TargetLoweringObjectFile.
1243725Syokota///
1343725Syokota//===----------------------------------------------------------------------===//
1443725Syokota
1543725Syokota#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
1643725Syokota#define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
1743725Syokota
1843725Syokota#include "AMDGPU.h"
1943725Syokota#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
2043725Syokota#include "llvm/Target/TargetMachine.h"
2143725Syokota
2243725Syokotanamespace llvm {
2343725Syokota
2443725Syokotaclass AMDGPUTargetObjectFile : public TargetLoweringObjectFileELF {
2543725Syokota  public:
2643725Syokota    MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind,
2750476Speter                                      const TargetMachine &TM) const override;
2843725Syokota    MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind,
29294783Sdes                                        const TargetMachine &TM) const override;
3053200Sphantom};
3165013Ssheldonh
3243725Syokota} // end namespace llvm
3343725Syokota
3465013Ssheldonh#endif
3543725Syokota