10 #ifndef LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCEXPR_H 11 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCMCEXPR_H 39 int64_t evaluateAsInt64(int64_t
Value)
const;
42 : Kind(Kind), Expr(Expr), IsDarwin(IsDarwin) {}
This class represents lattice values for constants.
VariantKind getKind() const
getOpcode - Get the kind of this expression.
This represents an "assembler immediate".
static bool classof(const MCExpr *E)
static const PPCMCExpr * create(VariantKind Kind, const MCExpr *Expr, bool isDarwin, MCContext &Ctx)
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
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)...
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.
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
static bool isDarwin(object::Archive::Kind Kind)
static const PPCMCExpr * createLo(const MCExpr *Expr, bool isDarwin, MCContext &Ctx)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
const MCExpr * getSubExpr() const
getSubExpr - Get the child of this expression.
PowerPC TLS Dynamic Call Fixup
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
MCFragment * findAssociatedFragment() const override
MCFragment * findAssociatedFragment() const
Find the "associated section" for this expression, which is currently defined as the absolute section...
bool evaluateAsConstant(int64_t &Res) const
bool isDarwinSyntax() const
isDarwinSyntax - True if expression is to be printed using Darwin syntax.
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.
void visitUsedExpr(MCStreamer &Streamer) const override