16 #define DEBUG_TYPE "nvptx-mcexpr"
44 if (HexStr.length() < NumHex)
45 OS << std::string(NumHex - HexStr.length(),
'0');
58 SymExpr->
print(OS, MAI);
uint64_t getZExtValue() const
Get zero extended value.
static const fltSemantics IEEEdouble
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
Represent a reference to a symbol from inside an expression.
Context object for machine code objects.
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...
void print(raw_ostream &OS, const MCAsmInfo *MAI) const
opStatus convert(const fltSemantics &, roundingMode, bool *)
APFloat::convert - convert a value of one floating point type to another.
APFloat getAPFloat() const
getSubExpr - Get the child of this expression.
static const NVPTXFloatMCExpr * create(VariantKind Kind, APFloat Flt, MCContext &Ctx)
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
Class for arbitrary precision integers.
APInt bitcastToAPInt() const
static const fltSemantics IEEEsingle
void printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const override
static std::string utohexstr(uint64_t X, bool LowerCase=false)
const ARM::ArchExtKind Kind
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...