12 #ifndef LLVM_LIB_TARGET_NVPTX_NVPTXMCEXPR_H
13 #define LLVM_LIB_TARGET_NVPTX_NVPTXMCEXPR_H
33 : Kind(Kind), Flt(Flt) {}
88 : SymExpr(_SymExpr) {}
static const NVPTXFloatMCExpr * createConstantFPDouble(APFloat Flt, MCContext &Ctx)
Instances of this class represent a uniqued identifier for a section in the current translation unit...
void visitUsedExpr(MCStreamer &Streamer) const override
This represents an "assembler immediate".
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
MCSection * findAssociatedSection() const override
MCSection * findAssociatedSection() const override
Encapsulates the layout of an assembly file at a particular point in time.
VariantKind getKind() const
getOpcode - Get the kind of this expression.
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.
Context object for machine code objects.
static const NVPTXFloatMCExpr * createConstantFPSingle(APFloat Flt, MCContext &Ctx)
static const NVPTXGenericMCSymbolRefExpr * create(const MCSymbolRefExpr *SymExpr, MCContext &Ctx)
This class is intended to be used as a base class for asm properties and features specific to the tar...
A self-contained host- and target-independent arbitrary-precision floating-point software implementat...
Streaming machine code generation interface.
static bool classof(const MCExpr *E)
bool evaluateAsRelocatableImpl(MCValue &Res, const MCAsmLayout *Layout, const MCFixup *Fixup) const override
This file declares a class to represent arbitrary precision floating point values and provide a varie...
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
APFloat getAPFloat() const
getSubExpr - Get the child of this expression.
PowerPC TLS Dynamic Call Fixup
static bool classof(const MCExpr *E)
void visitUsedExpr(MCStreamer &Streamer) const override
static const NVPTXFloatMCExpr * create(VariantKind Kind, APFloat Flt, MCContext &Ctx)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
const MCSymbolRefExpr * getSymbolExpr() const
getOpcode - Get the kind of this expression.
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.