Go to the documentation of this file.
18 using namespace dwarf;
20 void AArch64_ELFTargetObjectFile::Initialize(
MCContext &Ctx,
25 SupportDebugThreadLocalLocation =
false;
29 SupportGOTPCRelWithOffset =
false;
43 MCSymbol *PCSym = getContext().createTempSymbol();
50 GV, Encoding,
TM, MMI, Streamer);
56 return TM.getSymbol(GV);
63 "Arch64 does not support GOT PC rel with extra offset");
68 MCSymbol *PCSym = getContext().createTempSymbol();
79 getMangler().getNameWithPrefix(OutName, GV,
true);
This is an optimization pass for GlobalISel generic memory operations.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Context object for machine code objects.
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
The mach-o version of this method defaults to returning a stub reference.
Streaming machine code generation interface.
virtual void emitLabel(MCSymbol *Symbol, SMLoc Loc=SMLoc())
Emit a label for Symbol into the current section.
This class contains meta information specific to a module.
int64_t getConstant() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Primary interface to the complete machine description for the target machine.
static const MCBinaryExpr * createSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
AArch64_MachoTargetObjectFile()
const MCExpr * getIndirectSymViaGOTPCRel(const GlobalValue *GV, const MCSymbol *Sym, const MCValue &MV, int64_t Offset, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
Get MachO PC relative GOT entry relocation.
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
The mach-o version of this method defaults to returning a stub reference.
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
static const MCSymbolRefExpr * create(const MCSymbol *Symbol, MCContext &Ctx)
const char LLVMTargetMachineRef TM
This represents an "assembler immediate".
void getNameWithPrefix(SmallVectorImpl< char > &OutName, const GlobalValue *GV, const TargetMachine &TM) const override
Base class for the full range of assembler expressions which are needed for parsing.
MCSymbol * getCFIPersonalitySymbol(const GlobalValue *GV, const TargetMachine &TM, MachineModuleInfo *MMI) const override