Go to the documentation of this file.
14 #ifndef LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCEXPR_H
15 #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCMCEXPR_H
74 : Kind(Kind), Expr(Expr) {}
99 const MCFixup *Fixup)
const override;
This is an optimization pass for GlobalISel generic memory operations.
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
This class is intended to be used as a base class for asm properties and features specific to the tar...
static bool classof(const SparcMCExpr *)
static VariantKind parseVariantKind(StringRef name)
Streaming machine code generation interface.
static bool classof(const MCExpr *E)
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
@ Target
Target specific expression.
static const SparcMCExpr * create(VariantKind Kind, const MCExpr *Expr, MCContext &Ctx)
void visitUsedExpr(MCStreamer &Streamer) const override
This class implements an extremely fast bulk output stream that can only output to a stream.
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
MCExpr(ExprKind Kind, SMLoc Loc, unsigned SubclassData=0)
StringRef - Represent a constant reference to a string, i.e.
static bool printVariantKind(raw_ostream &OS, VariantKind Kind)
const MCExpr * getSubExpr() const
getSubExpr - Get the child of this expression.
Sparc::Fixups getFixupKind() const
getFixupKind - Get the fixup kind of this expression.
Encapsulates the layout of an assembly file at a particular point in time.
MCFragment * findAssociatedFragment() const
Find the "associated section" for this expression, which is currently defined as the absolute section...
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
This represents an "assembler immediate".
VariantKind getKind() const
getOpcode - Get the kind of this expression.
This is an extension point for target-specific MCExpr subclasses to implement.
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.
MCFragment * findAssociatedFragment() const override