25 #define DEBUG_TYPE "sparcmcexpr"
46 bool closeParen =
true;
fixup_sparc_got22 - 22-bit fixup corresponding to got22(foo)
static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm)
const MCSymbol & getSymbol() const
This represents an "assembler immediate".
const MCExpr * getSubExpr() const
getSubExpr - Get the child of this expression.
static bool printVariantKind(raw_ostream &OS, VariantKind Kind)
fixup_sparc_m44 - 10-bit fixup corresponding to m44(foo)
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Encapsulates the layout of an assembly file at a particular point in time.
fixup_sparc_got10 - 10-bit fixup corresponding to got10(foo)
Base class for the full range of assembler expressions which are needed for parsing.
LLVM_ATTRIBUTE_ALWAYS_INLINE R Default(const T &Value) const
Represent a reference to a symbol from inside an expression.
Context object for machine code objects.
LLVM_ATTRIBUTE_ALWAYS_INLINE StringSwitch & Case(const char(&S)[N], const T &Value)
fixup_sparc_hm - 10-bit fixup corresponding to hm(foo)
This class is intended to be used as a base class for asm properties and features specific to the tar...
Sparc::Fixups getFixupKind() const
getFixupKind - Get the fixup kind of this expression.
const MCExpr * getLHS() const
Get the left-hand side expression of the binary operator.
A switch()-like statement whose cases are string literals.
Streaming machine code generation interface.
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
fixup_sparc_hh - 22-bit fixup corresponding to hh(foo)
VariantKind getKind() const
getOpcode - Get the kind of this expression.
static VariantKind parseVariantKind(StringRef name)
fixup_sparc_l44 - 12-bit fixup corresponding to l44(foo)
Binary assembler expressions.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
fixup_sparc_lo10 - 10-bit fixup corresponding to lo(foo)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
bool evaluateAsRelocatable(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const
Try to evaluate the expression to a relocatable value, i.e.
void visitUsedExpr(const MCExpr &Expr)
fixup_sparc_pc22 - 22-bit fixup corresponding to pc22(foo)
const MCExpr * getRHS() const
Get the right-hand side expression of the binary operator.
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
References to labels and assigned expressions.
void visitUsedExpr(MCStreamer &Streamer) const override
static const SparcMCExpr * create(VariantKind Kind, const MCExpr *Expr, MCContext &Ctx)
void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.
Target specific expression.
fixups for Thread Local Storage
fixup_sparc_hi22 - 22-bit fixup corresponding to hi(foo) for sethi
fixup_sparc_h44 - 22-bit fixup corresponding to h44(foo)
fixup_sparc_pc10 - 10-bit fixup corresponding to pc10(foo)