17void PPC64LinuxTargetObjectFile::initialize(
MCContext &Ctx,
23MCSection *PPC64LinuxTargetObjectFile::SelectSectionForGlobal(
39 if (
Kind.isReadOnly()) {
42 if (GVar && GVar->isConstant() &&
43 GVar->getInitializer()->needsDynamicRelocation())
50const MCExpr *PPC64LinuxTargetObjectFile::
51getDebugThreadLocalSymbol(
const MCSymbol *Sym)
const {
static const MCBinaryExpr * createAdd(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx, SMLoc Loc=SMLoc())
static LLVM_ABI const MCConstantExpr * create(int64_t Value, MCContext &Ctx, bool PrintInHex=false, unsigned SizeInBytes=0)
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
MCContext & getContext() const
Instances of this class represent a uniqued identifier for a section in the current translation unit.
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx, SMLoc Loc=SMLoc())
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
A Module instance is used to store all the information related to an LLVM module.
SectionKind - This is a simple POD value that classifies the properties of a section.
static SectionKind getReadOnlyWithRel()
MCSection * SelectSectionForGlobal(const GlobalObject *GO, SectionKind Kind, const TargetMachine &TM) const override
void initialize(MCContext &Ctx, const TargetMachine &TM, const Module &M) override
This method must be called before any actual lowering is done.
Primary interface to the complete machine description for the target machine.
This is an optimization pass for GlobalISel generic memory operations.
decltype(auto) dyn_cast(const From &Val)
dyn_cast<X> - Return the argument parameter cast to the specified type.