11 #include "llvm/Config/llvm-config.h" 32 OS <<
"Expr:(" << *
getExpr() <<
")";
34 OS <<
"Inst:(" << *
getInst() <<
")";
50 "isBareSymbolRef expects only expressions");
57 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) 66 for (
unsigned i = 0, e = getNumOperands(); i != e; ++i) {
68 getOperand(i).print(OS);
76 dump_pretty(OS, InstName, Separator);
87 for (
unsigned i = 0, e = getNumOperands(); i != e; ++i) {
89 getOperand(i).print(OS);
94 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
This class represents lattice values for constants.
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
amdgpu Simplify well known AMD library false Value Value const Twine & Name
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.
unsigned getReg() const
Returns the register number.
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool empty() const
empty - Check if the string is empty.
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.