1c93fc11fSTom Stellard //===-- AMDGPUTargetObjectFile.h - AMDGPU Object Info ----*- C++ -*-===// 2c93fc11fSTom Stellard // 3*2946cd70SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*2946cd70SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 5*2946cd70SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6c93fc11fSTom Stellard // 7c93fc11fSTom Stellard //===----------------------------------------------------------------------===// 8c93fc11fSTom Stellard /// 9c93fc11fSTom Stellard /// \file 105f8f34e4SAdrian Prantl /// This file declares the AMDGPU-specific subclass of 11c93fc11fSTom Stellard /// TargetLoweringObjectFile. 12c93fc11fSTom Stellard /// 13c93fc11fSTom Stellard //===----------------------------------------------------------------------===// 14c93fc11fSTom Stellard 15c93fc11fSTom Stellard #ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H 16c93fc11fSTom Stellard #define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H 17c93fc11fSTom Stellard 18c93fc11fSTom Stellard #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h" 19c93fc11fSTom Stellard 20c93fc11fSTom Stellard namespace llvm { 21c93fc11fSTom Stellard 22c93fc11fSTom Stellard class AMDGPUTargetObjectFile : public TargetLoweringObjectFileELF { 23c93fc11fSTom Stellard public: 246733564eSPeter Collingbourne MCSection *SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, 25c93fc11fSTom Stellard const TargetMachine &TM) const override; 263732b4ceSPiotr Sobczak MCSection *getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, 273732b4ceSPiotr Sobczak const TargetMachine &TM) const override; 28c93fc11fSTom Stellard }; 29c93fc11fSTom Stellard 30c93fc11fSTom Stellard } // end namespace llvm 31c93fc11fSTom Stellard 32c93fc11fSTom Stellard #endif 33