This file declares the AMDGPU-specific subclass of TargetLoweringObjectFile.
const char LLVMTargetMachineRef TM
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...
StringRef getSection() const
Get the custom section of this global if it has one.
MCSection * TextSection
Section directive for standard text.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
SectionKind - This is a simple POD value that classifies the properties of a section.
static SectionKind getMetadata()
StringRef - Represent a constant reference to a string, i.e.
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...
Primary interface to the complete machine description for the target machine.
const Triple & getTargetTriple() const
bool shouldEmitConstantsToTextSection(const Triple &TT)
bool isReadOnlySegment(const GlobalValue *GV)
This is an optimization pass for GlobalISel generic memory operations.