10 #ifndef LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCEXPR_H
11 #define LLVM_LIB_TARGET_MIPS_MCTARGETDESC_MIPSMCEXPR_H
34 : Kind(Kind), Expr(Expr) {}
38 const MCBinaryExpr *BE);
41 const MCExpr *Expr, MCContext &Ctx);
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
Instances of this class represent a uniqued identifier for a section in the current translation unit...
const MCExpr * getSubExpr() const
getSubExpr - Get the child of this expression.
This represents an "assembler immediate".
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
MCSection * findAssociatedSection() const override
static bool classof(const MCExpr *E)
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.
void visitUsedExpr(MCStreamer &Streamer) const override
This class is intended to be used as a base class for asm properties and features specific to the tar...
Streaming machine code generation interface.
static bool isSupportedBinaryExpr(MCSymbolRefExpr::VariantKind VK, const MCBinaryExpr *BE)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
MCSection * findAssociatedSection() const
Find the "associated section" for this expression, which is currently defined as the absolute section...
static const MipsMCExpr * create(MCSymbolRefExpr::VariantKind VK, const MCExpr *Expr, MCContext &Ctx)
PowerPC TLS Dynamic Call Fixup
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
VariantKind getKind() const
getOpcode - Get the kind of this expression.
This class implements an extremely fast bulk output stream that can only output to a stream...
Target specific expression.