10 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCEXPR_H
11 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCEXPR_H
37 int64_t evaluateAsInt64(int64_t
Value)
const;
40 : Kind(Kind), Expr(Expr), IsDarwin(IsDarwin) {}
47 bool isDarwin, MCContext &Ctx);
bool evaluateAsConstant(int64_t &Res) const
Instances of this class represent a uniqued identifier for a section in the current translation unit...
This represents an "assembler immediate".
static bool classof(const MCExpr *E)
VariantKind getKind() const
getOpcode - Get the kind of this expression.
static const PPCMCExpr * create(VariantKind Kind, const MCExpr *Expr, bool isDarwin, MCContext &Ctx)
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
const MCExpr * getSubExpr() const
getSubExpr - Get the child of this expression.
static const PPCMCExpr * createHi(const MCExpr *Expr, bool isDarwin, MCContext &Ctx)
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
bool isDarwinSyntax() const
isDarwinSyntax - True if expression is to be printed using Darwin syntax.
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.
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...
Streaming machine code generation interface.
MCSection * findAssociatedSection() const
Find the "associated section" for this expression, which is currently defined as the absolute section...
static const PPCMCExpr * createLo(const MCExpr *Expr, bool isDarwin, MCContext &Ctx)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
PowerPC TLS Dynamic Call Fixup
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
LLVM Value Representation.
static const PPCMCExpr * createHa(const MCExpr *Expr, bool isDarwin, MCContext &Ctx)
This class implements an extremely fast bulk output stream that can only output to a stream...
Target specific expression.
MCSection * findAssociatedSection() const override
void visitUsedExpr(MCStreamer &Streamer) const override