10#include "llvm/Config/llvm-config.h"
41 if (
const auto *Inst =
getInst())
42 Inst->print(
OS, RegInfo);
61 "isBareSymbolRef expects only expressions");
68#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
106#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.
dxil pretty DXIL Metadata Pretty Printer
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Base class for the full range of assembler expressions which are needed for parsing.
@ SymbolRef
References to labels and assigned expressions.
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
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.
unsigned getNumOperands() const
void print(raw_ostream &OS, const MCRegisterInfo *RegInfo=nullptr) const
unsigned getOpcode() const
const MCOperand & getOperand(unsigned i) const
bool isBareSymbolRef() const
MCRegister getReg() const
Returns the register number.
bool evaluateAsConstantImm(int64_t &Imm) const
const MCInst * getInst() const
void print(raw_ostream &OS, const MCRegisterInfo *RegInfo=nullptr) const
const MCExpr * getExpr() const
uint32_t getSFPImm() const
uint64_t getDFPImm() const
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
const char * getName(MCRegister RegNo) const
Return the human-readable symbolic target-specific name for the specified physical register.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.