Go to the documentation of this file.
10 #include "llvm/Config/llvm-config.h"
34 OS <<
"SFPImm:" << bit_cast<float>(
getSFPImm());
36 OS <<
"DFPImm:" << bit_cast<double>(
getDFPImm());
38 OS <<
"Expr:(" << *
getExpr() <<
")";
58 "isBareSymbolRef expects only expressions");
65 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
103 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
This is an optimization pass for GlobalISel generic memory operations.
const char * getName(MCRegister RegNo) const
Return the human-readable symbolic target-specific name for the specified physical register.
uint32_t getSFPImm() const
unsigned getNumOperands() const
void print(raw_ostream &OS, const MCRegisterInfo *RegInfo=nullptr) const
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
print alias Alias Set Printer
const MCInst * getInst() const
This class implements an extremely fast bulk output stream that can only output to a stream.
bool isBareSymbolRef() const
void print(raw_ostream &OS, const MCRegisterInfo *RegInfo=nullptr) const
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
bool evaluateAsConstantImm(int64_t &Imm) const
StringRef - Represent a constant reference to a string, i.e.
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
const MCExpr * getExpr() const
unsigned getOpcode() const
uint64_t getDFPImm() const
@ SymbolRef
References to labels and assigned expressions.
const MCOperand & getOperand(unsigned i) const
void dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer=nullptr, StringRef Separator=" ", const MCRegisterInfo *RegInfo=nullptr) const
Dump the MCInst as prettily as possible using the additional MC structures, if given.
Base class for the full range of assembler expressions which are needed for parsing.
unsigned getReg() const
Returns the register number.