class TargetLoweringObjectFileWasm
Declaration
class TargetLoweringObjectFileWasm : public TargetLoweringObjectFile { /* full declaration omitted */ };
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:184
Inherits from: TargetLoweringObjectFile
Method Overview
- public void InitializeWasm()
- public llvm::MCSection * SelectSectionForGlobal(const llvm::GlobalObject * GO, llvm::SectionKind Kind, const llvm::TargetMachine & TM) const
- public TargetLoweringObjectFileWasm()
- public llvm::MCSection * getExplicitSectionGlobal(const llvm::GlobalObject * GO, llvm::SectionKind Kind, const llvm::TargetMachine & TM) const
- public llvm::MCSection * getStaticCtorSection(unsigned int Priority, const llvm::MCSymbol * KeySym) const
- public llvm::MCSection * getStaticDtorSection(unsigned int Priority, const llvm::MCSymbol * KeySym) const
- public const llvm::MCExpr * lowerRelativeReference(const llvm::GlobalValue * LHS, const llvm::GlobalValue * RHS, const llvm::TargetMachine & TM) const
- public bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference, const llvm::Function & F) const
- public ~TargetLoweringObjectFileWasm()
Methods
¶void InitializeWasm()
void InitializeWasm()
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:200
¶llvm::MCSection* SelectSectionForGlobal(
const llvm::GlobalObject* GO,
llvm::SectionKind Kind,
const llvm::TargetMachine& TM) const
llvm::MCSection* SelectSectionForGlobal(
const llvm::GlobalObject* GO,
llvm::SectionKind Kind,
const llvm::TargetMachine& TM) const
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:194
Parameters
- const llvm::GlobalObject* GO
- llvm::SectionKind Kind
- const llvm::TargetMachine& TM
¶TargetLoweringObjectFileWasm()
TargetLoweringObjectFileWasm()
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:188
¶llvm::MCSection* getExplicitSectionGlobal(
const llvm::GlobalObject* GO,
llvm::SectionKind Kind,
const llvm::TargetMachine& TM) const
llvm::MCSection* getExplicitSectionGlobal(
const llvm::GlobalObject* GO,
llvm::SectionKind Kind,
const llvm::TargetMachine& TM) const
Description
Targets should implement this method to assign a section to globals with an explicit section specfied. The implementation of this method can assume that GO->hasSection() is true.
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:191
Parameters
- const llvm::GlobalObject* GO
- llvm::SectionKind Kind
- const llvm::TargetMachine& TM
¶llvm::MCSection* getStaticCtorSection(
unsigned int Priority,
const llvm::MCSymbol* KeySym) const
llvm::MCSection* getStaticCtorSection(
unsigned int Priority,
const llvm::MCSymbol* KeySym) const
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:201
Parameters
- unsigned int Priority
- const llvm::MCSymbol* KeySym
¶llvm::MCSection* getStaticDtorSection(
unsigned int Priority,
const llvm::MCSymbol* KeySym) const
llvm::MCSection* getStaticDtorSection(
unsigned int Priority,
const llvm::MCSymbol* KeySym) const
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:203
Parameters
- unsigned int Priority
- const llvm::MCSymbol* KeySym
¶const llvm::MCExpr* lowerRelativeReference(
const llvm::GlobalValue* LHS,
const llvm::GlobalValue* RHS,
const llvm::TargetMachine& TM) const
const llvm::MCExpr* lowerRelativeReference(
const llvm::GlobalValue* LHS,
const llvm::GlobalValue* RHS,
const llvm::TargetMachine& TM) const
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:206
Parameters
- const llvm::GlobalValue* LHS
- const llvm::GlobalValue* RHS
- const llvm::TargetMachine& TM
¶bool shouldPutJumpTableInFunctionSection(
bool UsesLabelDifference,
const llvm::Function& F) const
bool shouldPutJumpTableInFunctionSection(
bool UsesLabelDifference,
const llvm::Function& F) const
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:197
Parameters
- bool UsesLabelDifference
- const llvm::Function& F
¶~TargetLoweringObjectFileWasm()
~TargetLoweringObjectFileWasm()
Declared at: llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h:189