2009-09-14 01:43:38 +00:00
|
|
|
//===-- MCInstPrinter.cpp - Convert an MCInst to target assembly syntax ---===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCInstPrinter.h"
|
2010-02-11 22:39:10 +00:00
|
|
|
#include "llvm/ADT/StringRef.h"
|
2009-09-14 01:43:38 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
MCInstPrinter::~MCInstPrinter() {
|
2009-10-05 18:43:19 +00:00
|
|
|
}
|
2010-02-11 22:39:10 +00:00
|
|
|
|
|
|
|
/// getOpcodeName - Return the name of the specified opcode enum (e.g.
|
|
|
|
/// "MOV32ri") or empty if we can't resolve it.
|
|
|
|
StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
|
|
|
|
return "";
|
|
|
|
}
|
2011-03-05 18:43:32 +00:00
|
|
|
|
2011-06-02 02:34:55 +00:00
|
|
|
void MCInstPrinter::printRegName(raw_ostream &OS, unsigned RegNo) const {
|
2011-03-05 18:43:32 +00:00
|
|
|
assert(0 && "Target should implement this");
|
|
|
|
}
|