void visitUsedExpr(const MCExpr &Expr)
This is an optimization pass for GlobalISel generic memory operations.
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
Context object for machine code objects.
This class is intended to be used as a base class for asm properties and features specific to the tar...
static StringRef getVariantKindName(VariantKind Kind)
static const CSKYMCExpr * create(const MCExpr *Expr, VariantKind Kind, MCContext &Ctx)
Binary assembler expressions.
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const
Try to evaluate the expression to a relocatable value, i.e.
Streaming machine code generation interface.
@ Target
Target specific expression.
VariantKind getKind() const
const MCExpr * getRHS() const
Get the right-hand side expression of the binary operator.
This class implements an extremely fast bulk output stream that can only output to a stream.
const MCSymbol & getSymbol() const
const MCSymbolRefExpr * getSymA() const
@ Binary
Binary expressions.
const MCExpr * getSubExpr() const
Represent a reference to a symbol from inside an expression.
PowerPC TLS Dynamic Call Fixup
StringRef - Represent a constant reference to a string, i.e.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm)
Encapsulates the layout of an assembly file at a particular point in time.
void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const
@ SymbolRef
References to labels and assigned expressions.
@ Unary
Unary expressions.
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
@ Constant
Constant expressions.
This represents an "assembler immediate".
void visitUsedExpr(MCStreamer &Streamer) const override
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Base class for the full range of assembler expressions which are needed for parsing.
const MCSymbolRefExpr * getSymB() const
const MCExpr * getLHS() const
Get the left-hand side expression of the binary operator.