LLVM: lib/Target/SystemZ/MCTargetDesc/SystemZTargetStreamer.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
19
20using namespace llvm;
21
23
25 return;
26
32 Streamer.emitInstruction(MCI_STI.first, *MCI_STI.second);
33 }
35}
36
40
44
46
47
50 assert(Hi && Lo && "Symbols required to calculate expression");
51 MCSymbol *Temp = Ctx.createTempSymbol();
52 OS << Temp->getName() << " EQU ";
55 Ctx.getAsmInfo()->printExpr(OS, *TempExpr);
56 OS << "\n";
59}
60
63 assert(Hi && Lo && "Symbols required to calculate expression");
68}
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
Binary assembler expressions.
static const MCBinaryExpr * createLShr(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
static const MCBinaryExpr * createSub(const MCExpr *LHS, const MCExpr *RHS, MCContext &Ctx)
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.
MCSection * getTextSection() const
void emitRawText(const Twine &String)
If this file is backed by a assembly streamer, this dumps the specified string in the output ....
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 ...
StringRef getName() const
getName - Get the symbol name.
MCStreamer & getStreamer()
StringRef - Represent a constant reference to a string, i.e.
const MCExpr * createWordDiffExpr(MCContext &Ctx, const MCSymbol *Hi, const MCSymbol *Lo) override
Definition SystemZTargetStreamer.cpp:61
void emitEnd() override
Definition SystemZTargetStreamer.cpp:45
void emitExtern(StringRef Sym) override
Definition SystemZTargetStreamer.cpp:41
SystemZHLASMAsmStreamer & getHLASMStreamer()
Definition SystemZTargetStreamer.cpp:37
const MCExpr * createWordDiffExpr(MCContext &Ctx, const MCSymbol *Hi, const MCSymbol *Lo) override
Definition SystemZTargetStreamer.cpp:48
void emitConstantPools() override
Definition SystemZTargetStreamer.cpp:22
std::pair< MCInst, const MCSubtargetInfo * > MCInstSTIPair
EXRLT2SymMap EXRLTargets2Sym
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
This is an optimization pass for GlobalISel generic memory operations.