10 #ifndef LLVM_LIB_TARGET_HEXAGON_HEXAGONTARGETOBJECTFILE_H 11 #define LLVM_LIB_TARGET_HEXAGON_HEXAGONTARGETOBJECTFILE_H 45 unsigned getSmallestAddressableSize(
const Type *Ty,
const GlobalValue *GV,
bool isGlobalInSmallSection(const GlobalObject *GO, const TargetMachine &TM) const
Return true if this global value should be placed into small data/bss section.
Instances of this class represent a uniqued identifier for a section in the current translation unit...
This class represents lattice values for constants.
unsigned getSmallDataSize() const
Context object for machine code objects.
bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference, const Function &F) const override
const Function * getLutUsedFunction(const GlobalObject *GO) const
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
The instances of the Type class are immutable: once they are created, they are never changed...
SectionKind - This is a simple POD value that classifies the properties of a section.
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
This represents a section on linux, lots of unix variants and some bare metal systems.
Primary interface to the complete machine description for the target machine.
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...
bool isSmallDataEnabled(const TargetMachine &TM) const