34 void RecordStreamer::markGlobal(
const MCSymbol &Symbol,
54 void RecordStreamer::markUsed(
const MCSymbol &Symbol) {
71 void RecordStreamer::visitUsedSymbol(
const MCSymbol &Sym) { markUsed(Sym); }
76 return Symbols.
begin();
99 markGlobal(*Symbol, Attribute);
107 markDefined(*Symbol);
112 markDefined(*Symbol);
117 SymverAliasMap[Aliasee].push_back(Alias);
void emitELFSymverDirective(MCSymbol *Alias, const MCSymbol *Aliasee) override
Record .symver aliases for later processing.
Instances of this class represent a uniqued identifier for a section in the current translation unit...
void EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) override
Emit the zerofill section and an optional symbol.
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
bool EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) override
Add the given Attribute to Symbol.
void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) override
Emit an assignment of Value to Symbol.
StringMap< State >::const_iterator const_iterator
virtual void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI, bool PrintSchedInfo=false)
Emit the given Instruction into the current section.
Base class for the full range of assembler expressions which are needed for parsing.
virtual void EmitAssignment(MCSymbol *Symbol, const MCExpr *Value)
Emit an assignment of Value to Symbol.
Context object for machine code objects.
Instances of this class represent a single low-level machine instruction.
Streaming machine code generation interface.
RecordStreamer(MCContext &Context)
void EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI, bool) override
Emit the given Instruction into the current section.
constexpr char Size[]
Key for Kernel::Arg::Metadata::mSize.
StringRef getName() const
getName - Get the symbol name.
MCSubtargetInfo - Generic base class for all target subtargets.
void EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment) override
Emit a common symbol.
void EmitLabel(MCSymbol *Symbol, SMLoc Loc=SMLoc()) override
Emit a label for Symbol into the current section.
LLVM Value Representation.
virtual void EmitLabel(MCSymbol *Symbol, SMLoc Loc=SMLoc())
Emit a label for Symbol into the current section.
Represents a location in source code.