LLVM: lib/Target/NVPTX/NVPTXTargetObjectFile.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXTARGETOBJECTFILE_H

10#define LLVM_LIB_TARGET_NVPTX_NVPTXTARGETOBJECTFILE_H

11

15

16namespace llvm {

17

19public:

21

23

26 Align &Alignment) const override {

28 }

29

33 }

34

37};

38

39}

40

41#endif

MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL

This is an important base class in LLVM.

A parsed version of the target data layout string in and methods for querying it.

MCSection * ReadOnlySection

Section that is readonly and can contain arbitrary initialized data.

MCSection * DataSection

Section directive for standard data.

Instances of this class represent a uniqued identifier for a section in the current translation unit.

NVPTXTargetObjectFile()=default

MCSection * getSectionForConstant(const DataLayout &DL, SectionKind Kind, const Constant *C, Align &Alignment) const override

Given a constant with the SectionKind, return a section that it should be placed in.

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...

~NVPTXTargetObjectFile() override

SectionKind - This is a simple POD value that classifies the properties of a section.

Primary interface to the complete machine description for the target machine.

@ C

The default llvm calling convention, compatible with C.

This is an optimization pass for GlobalISel generic memory operations.

This struct is a compact representation of a valid (non-zero power of two) alignment.