16#define DEBUG_TYPE "nvptx-mcexpr"
opStatus convert(const fltSemantics &ToSemantics, roundingMode RM, bool *losesInfo)
APInt bitcastToAPInt() const
Class for arbitrary precision integers.
uint64_t getZExtValue() const
Get zero extended value.
This class is intended to be used as a base class for asm properties and features specific to the tar...
Context object for machine code objects.
void print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens=false) const
Represent a reference to a symbol from inside an expression.
@ VK_NVPTX_HALF_PREC_FLOAT
@ VK_NVPTX_BFLOAT_PREC_FLOAT
@ VK_NVPTX_DOUBLE_PREC_FLOAT
@ VK_NVPTX_SINGLE_PREC_FLOAT
APFloat getAPFloat() const
getSubExpr - Get the child of this expression.
static const NVPTXFloatMCExpr * create(VariantKind Kind, const APFloat &Flt, MCContext &Ctx)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
A wrapper for MCSymbolRefExpr that tells the assembly printer that the symbol should be enclosed by g...
static const NVPTXGenericMCSymbolRefExpr * create(const MCSymbolRefExpr *SymExpr, MCContext &Ctx)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
This class implements an extremely fast bulk output stream that can only output to a stream.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.
FormattedNumber format_hex_no_prefix(uint64_t N, unsigned Width, bool Upper=false)
format_hex_no_prefix - Output N as a fixed width hexadecimal.
static const fltSemantics & IEEEsingle() LLVM_READNONE
static constexpr roundingMode rmNearestTiesToEven
static const fltSemantics & IEEEdouble() LLVM_READNONE
static const fltSemantics & IEEEhalf() LLVM_READNONE
static const fltSemantics & BFloat() LLVM_READNONE