LLVM: lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp Source File (original) (raw)

1

2

3

4

5

6

7

8

14using namespace llvm;

15

16

17

18

19

25

27}

28

31

33 if (SectionName.starts_with(".AMDGPU.comment."))

35

37}

This file declares the AMDGPU-specific subclass of TargetLoweringObjectFile.

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.