#include "llvm/MC/MCInstPrinter.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <cinttypes>
#include <cstdint>
usingnamespacellvm;
void llvm::dumpBytes(ArrayRef<uint8_t> bytes, raw_ostream &OS) { … }
MCInstPrinter::~MCInstPrinter() = default;
StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const { … }
void MCInstPrinter::printRegName(raw_ostream &OS, MCRegister Reg) const { … }
void MCInstPrinter::printAnnotation(raw_ostream &OS, StringRef Annot) { … }
static bool matchAliasCondition(const MCInst &MI, const MCSubtargetInfo *STI,
const MCRegisterInfo &MRI, unsigned &OpIdx,
const AliasMatchingData &M,
const AliasPatternCond &C,
bool &OrPredicateResult) { … }
const char *MCInstPrinter::matchAliasPatterns(const MCInst *MI,
const MCSubtargetInfo *STI,
const AliasMatchingData &M) { … }
static bool needsLeadingZero(uint64_t Value)
{ … }
format_object<int64_t> MCInstPrinter::formatDec(int64_t Value) const { … }
format_object<int64_t> MCInstPrinter::formatHex(int64_t Value) const { … }
format_object<uint64_t> MCInstPrinter::formatHex(uint64_t Value) const { … }
MCInstPrinter::WithMarkup MCInstPrinter::markup(raw_ostream &OS,
Markup S) const { … }
MCInstPrinter::WithMarkup::WithMarkup(raw_ostream &OS, Markup M,
bool EnableMarkup, bool EnableColor)
: … { … }
MCInstPrinter::WithMarkup::~WithMarkup() { … }