10 #include "llvm/Config/llvm-config.h" 31 OS <<
"Expr:(" << *
getExpr() <<
")";
33 OS <<
"Inst:(" << *
getInst() <<
")";
49 "isBareSymbolRef expects only expressions");
56 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) 65 for (
unsigned i = 0, e = getNumOperands(); i != e; ++i) {
67 getOperand(i).print(OS);
75 dump_pretty(OS, InstName, Separator);
86 for (
unsigned i = 0, e = getNumOperands(); i != e; ++i) {
88 getOperand(i).print(OS);
93 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
This class represents lattice values for constants.
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds...
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
void print(raw_ostream &OS) const
void dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer=nullptr, StringRef Separator=" ") const
Dump the MCInst as prettily as possible using the additional MC structures, if given.
print alias Alias Set Printer
bool isBareSymbolRef() const
static Optional< unsigned > getOpcode(ArrayRef< VPValue *> Values)
Returns the opcode of Values or ~0 if they do not all agree.
Base class for the full range of assembler expressions which are needed for parsing.
LLVM_NODISCARD bool empty() const
empty - Check if the string is empty.
unsigned getReg() const
Returns the register number.
const MCInst * getInst() const
const MCExpr * getExpr() const
void print(raw_ostream &OS) const
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
bool evaluateAsConstantImm(int64_t &Imm) const
StringRef getOpcodeName(unsigned Opcode) const
Return the name of the specified opcode enum (e.g.
References to labels and assigned expressions.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This class implements an extremely fast bulk output stream that can only output to a stream...
StringRef - Represent a constant reference to a string, i.e.