12 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXMCEXPR_H 13 #define LLVM_LIB_TARGET_NVPTX_NVPTXMCEXPR_H 35 : Kind(Kind), Flt(
std::move(Flt)) {}
74 const MCFixup *Fixup)
const override {
95 : SymExpr(_SymExpr) {}
116 const MCFixup *Fixup)
const override {
void visitUsedExpr(MCStreamer &Streamer) const override
This class represents lattice values for constants.
This represents an "assembler immediate".
static const NVPTXFloatMCExpr * createConstantFPSingle(const APFloat &Flt, MCContext &Ctx)
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
MCFragment * findAssociatedFragment() const override
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.
Represent a reference to a symbol from inside an expression.
static const NVPTXFloatMCExpr * createConstantFPDouble(const APFloat &Flt, MCContext &Ctx)
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...
MCFragment * findAssociatedFragment() const override
Streaming machine code generation interface.
static bool classof(const MCExpr *E)
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
VariantKind getKind() const
getOpcode - Get the kind of this expression.
This file declares a class to represent arbitrary precision floating point values and provide a varie...
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
static const NVPTXFloatMCExpr * create(VariantKind Kind, const APFloat &Flt, MCContext &Ctx)
static bool classof(const MCExpr *E)
void visitUsedExpr(MCStreamer &Streamer) const override
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
APFloat getAPFloat() const
getSubExpr - Get the child of this expression.
static const NVPTXFloatMCExpr * createConstantFPHalf(const APFloat &Flt, MCContext &Ctx)
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
This class implements an extremely fast bulk output stream that can only output to a stream...
A wrapper for MCSymbolRefExpr that tells the assembly printer that the symbol should be enclosed by g...
Target specific expression.
const MCSymbolRefExpr * getSymbolExpr() const
getOpcode - Get the kind of this expression.