14#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H
15#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H
31 explicit X86MCExpr(int64_t R) : RegNo(R) {}
63 if (
auto *
E = dyn_cast<X86MCExpr>(
X))
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
PowerPC TLS Dynamic Call Fixup
This class is intended to be used as a base class for asm properties and features specific to the tar...
unsigned getAssemblerDialect() const
Encapsulates the layout of an assembly file at a particular point in time.
Context object for machine code objects.
Base class for the full range of assembler expressions which are needed for parsing.
@ Target
Target specific expression.
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Streaming machine code generation interface.
This is an extension point for target-specific MCExpr subclasses to implement.
This represents an "assembler immediate".
static const char * getRegisterName(MCRegister Reg)
static const X86MCExpr * create(int64_t RegNo, MCContext &Ctx)
bool isEqualTo(const MCExpr *X) const override
int64_t getRegNo() const
getSubExpr - Get the child of this expression.
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
void visitUsedExpr(MCStreamer &Streamer) const override
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
MCFragment * findAssociatedFragment() const override
static bool classof(const MCExpr *E)
bool inlineAssignedExpr() const override
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.