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) 65 OS <<
"<MCInst " << getOpcode();
66 for (
unsigned i = 0, e = getNumOperands(); i != e; ++i) {
68 getOperand(i).print(OS);
75 OS <<
"<MCInst #" << getOpcode();
81 for (
unsigned i = 0, e = getNumOperands(); i != e; ++i) {
83 getOperand(i).print(OS);
88 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Compute iterated dominance frontiers using a linear time algorithm.
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.
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds...
print alias Alias Set Printer
bool isBareSymbolRef() const
Base class for the full range of assembler expressions which are needed for parsing.
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.