LLVM: lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
18
19#define DEBUG_TYPE "avrmcelfstreamer"
20
21using namespace llvm;
22
42
43namespace llvm {
45 std::unique_ptr MAB,
46 std::unique_ptr OW,
47 std::unique_ptr CE) {
48 return new AVRMCELFStreamer(Context, std::move(MAB), std::move(OW),
49 std::move(CE));
50}
51
52}
void emitValueForModiferKind(const MCSymbol *Sym, unsigned SizeInBytes, SMLoc Loc=SMLoc(), AVRMCExpr::Specifier ModifierKind=AVR::S_AVR_NONE)
Definition AVRMCELFStreamer.cpp:23
Context object for machine code objects.
Streaming machine code generation interface.
MCContext & getContext() const
void emitValue(const MCExpr *Value, unsigned Size, SMLoc Loc=SMLoc())
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 ...
Represents a location in source code.
Triple - Helper class for working with autoconf configuration names.
@ S_LO8
Corresponds to lo8().
@ S_HH8
Corresponds to hlo8() and hh8().
@ S_HI8
Corresponds to hi8().
This is an optimization pass for GlobalISel generic memory operations.
MCStreamer * createAVRELFStreamer(Triple const &TT, MCContext &Context, std::unique_ptr< MCAsmBackend > MAB, std::unique_ptr< MCObjectWriter > OW, std::unique_ptr< MCCodeEmitter > CE)
Definition AVRMCELFStreamer.cpp:44