10#include "llvm/Config/llvm-config.h"
47 if (
const auto *Inst =
getInst())
67 "isBareSymbolRef expects only expressions");
71 cast<MCSymbolRefExpr>(Expr)->getSpecifier() == 0;
74#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
111#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
assert(UImm &&(UImm !=~static_cast< T >(0)) &&"Invalid immediate!")
#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
void printExpr(raw_ostream &, const MCExpr &) const
Context object for machine code objects.
const MCRegisterInfo * getRegisterInfo() const
const MCAsmInfo * getAsmInfo() const
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...
LLVM_ABI void print(raw_ostream &OS, const MCContext *Ctx=nullptr) const
unsigned getNumOperands() const
unsigned getOpcode() const
LLVM_ABI void dump_pretty(raw_ostream &OS, const MCInstPrinter *Printer=nullptr, StringRef Separator=" ", const MCContext *Ctx=nullptr) const
Dump the MCInst as prettily as possible using the additional MC structures, if given.
LLVM_ABI void dump() const
const MCOperand & getOperand(unsigned i) const
LLVM_ABI bool isBareSymbolRef() const
LLVM_ABI void print(raw_ostream &OS, const MCContext *Ctx=nullptr) const
MCRegister getReg() const
Returns the register number.
LLVM_ABI bool evaluateAsConstantImm(int64_t &Imm) const
LLVM_ABI void dump() const
const MCInst * getInst() const
const MCExpr * getExpr() const
uint32_t getSFPImm() const
uint64_t getDFPImm() const
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.
LLVM_ABI raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.