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.
MCSymbol * getSymbolWithGlobalValueBase(const GlobalValue *GV, StringRef Suffix, const TargetMachine &TM) const
Return the MCSymbol for a private symbol with global value name as its base, with the specified suffi...
PointerIntPair< MCSymbol *, 1, bool > StubValueTy
MCContext & getContext() const
Streaming machine code generation interface.
static const SparcMCExpr * create(VariantKind Kind, const MCExpr *Expr, MCContext &Ctx)
This class contains meta information specific to a module.
MCSymbol * getSymbol(const GlobalValue *GV) const
PointerTy getPointer() const
Primary interface to the complete machine description for the target machine.
bool hasLocalLinkage() const
StubValueTy & getGVStubEntry(MCSymbol *Sym)
void Initialize(MCContext &Ctx, const TargetMachine &TM) override
This method must be called before any actual lowering is done.
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
Return an MCExpr to use for a reference to the specified type info global variable from exception han...
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)
PointerIntPair - This class implements a pair of a pointer and small integer.
MachineModuleInfoELF - This is a MachineModuleInfoImpl implementation for ELF targets.
const MCExpr * getTTypeGlobalReference(const GlobalValue *GV, unsigned Encoding, const TargetMachine &TM, MachineModuleInfo *MMI, MCStreamer &Streamer) const override
Return an MCExpr to use for a reference to the specified type info global variable from exception han...
const char LLVMTargetMachineRef TM
Base class for the full range of assembler expressions which are needed for parsing.
Ty & getObjFileInfo()
Keep track of various per-module pieces of information for backends that would like to do so.