15 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCEXPR_H
16 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCEXPR_H
66 : Kind(Kind), Expr(Expr) {}
91 const MCFixup *Fixup)
const override;
MCFragment * findAssociatedFragment() const
Find the "associated section" for this expression, which is currently defined as the absolute section...
This represents an "assembler immediate".
const MCExpr * getSubExpr() const
getSubExpr - Get the child of this expression.
static bool printVariantKind(raw_ostream &OS, VariantKind Kind)
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.
Base class for the full range of assembler expressions which are needed for parsing.
This is an extension point for target-specific MCExpr subclasses to implement.
static GCRegistry::Add< CoreCLRGC > E("coreclr","CoreCLR-compatible GC")
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.
Streaming machine code generation interface.
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
MCFragment * findAssociatedFragment() const override
VariantKind getKind() const
getOpcode - Get the kind of this expression.
static VariantKind parseVariantKind(StringRef name)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
static bool classof(const MCExpr *E)
void visitUsedExpr(MCStreamer &Streamer) const override
static const SparcMCExpr * create(VariantKind Kind, const MCExpr *Expr, MCContext &Ctx)
static bool classof(const SparcMCExpr *)
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.