9#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVTARGETOBJECTFILE_H
10#define LLVM_LIB_TARGET_SPIRV_SPIRVTARGETOBJECTFILE_H
30 Align &Alignment)
const override {
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.
Context object for machine code objects.
MCSection * TextSection
Section directive for standard text.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
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...
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
void Initialize(MCContext &ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
~SPIRVTargetObjectFile() override
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.
SectionKind - This is a simple POD value that classifies the properties of a section.
virtual void Initialize(MCContext &ctx, const TargetMachine &TM)
This method must be called before any actual lowering is done.
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.