X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FX86%2FInstPrinter%2FX86ATTInstPrinter.h;h=0293869b0a9b5efd24c853faf97193ddb33a4d5a;hb=8247e0dca6759d9a22ac4c5cf305fac052b285ac;hp=0a10c6c1a6b39495782ec7ab8516cffb92604de0;hpb=a5c177e70a42f48e4885075c4c48aad0816a2817;p=oota-llvm.git diff --git a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h index 0a10c6c1a6b..0293869b0a9 100644 --- a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h +++ b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h @@ -19,16 +19,19 @@ namespace llvm { class MCOperand; -class TargetMachine; class X86ATTInstPrinter : public MCInstPrinter { public: - X86ATTInstPrinter(TargetMachine &TM, const MCAsmInfo &MAI) - : MCInstPrinter(MAI) {} + X86ATTInstPrinter(const MCAsmInfo &MAI); - virtual void printInst(const MCInst *MI, raw_ostream &OS); + virtual void printRegName(raw_ostream &OS, unsigned RegNo) const; + virtual void printInst(const MCInst *MI, raw_ostream &OS, StringRef Annot); virtual StringRef getOpcodeName(unsigned Opcode) const; + // Autogenerated by tblgen, returns true if we successfully printed an + // alias. + bool printAliasInstr(const MCInst *MI, raw_ostream &OS); + // Autogenerated by tblgen. void printInstruction(const MCInst *MI, raw_ostream &OS); static const char *getRegisterName(unsigned RegNo);