15 #ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H 16 #define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86MCEXPR_H 31 explicit X86MCExpr(int64_t R) : RegNo(R) {}
57 const MCFixup *Fixup)
const override {
63 if (
auto *
E = dyn_cast<X86MCExpr>(X))
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
static const char * getRegisterName(unsigned RegNo)
This class represents lattice values for constants.
This represents an "assembler immediate".
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.
int64_t getRegNo() const
getSubExpr - Get the child of this expression.
bool inlineAssignedExpr() const override
static const X86MCExpr * create(int64_t RegNo, MCContext &Ctx)
This class is intended to be used as a base class for asm properties and features specific to the tar...
MCFragment * findAssociatedFragment() const override
bool isEqualTo(const MCExpr *X) const override
Streaming machine code generation interface.
unsigned getAssemblerDialect() const
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
static bool classof(const MCExpr *E)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
void visitUsedExpr(MCStreamer &Streamer) const override
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
This class implements an extremely fast bulk output stream that can only output to a stream...
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
Target specific expression.