LLVM 20.0.0git
AMDGPUTargetObjectFile.h
Go to the documentation of this file.
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//===----------------------------------------------------------------------===//
14
15#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
16#define LLVM_LIB_TARGET_AMDGPU_AMDGPUTARGETOBJECTFILE_H
17
19
20namespace llvm {
21
23 public:
25 const TargetMachine &TM) const override;
27 const TargetMachine &TM) const override;
28};
29
30} // end namespace llvm
31
32#endif
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
MCSection * getExplicitSectionGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
Targets should implement this method to assign a section to globals with an explicit section specfied...
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Definition: MCSection.h:36
SectionKind - This is a simple POD value that classifies the properties of a section.
Definition: SectionKind.h:22
Primary interface to the complete machine description for the target machine.
Definition: TargetMachine.h:77
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18