X86AsmPrinter.cpp revision 75276f150e081464300810c58934abcc9c4b9f53
1//===-- X86/Printer.cpp - Convert X86 code to human readable rep. ---------===//
2//
3// This file contains a printer that converts from our internal representation
4// of LLVM code to a nice human readable form that is suitable for debuggging.
5//
6//===----------------------------------------------------------------------===//
7
8#include "X86.h"
9#include <iostream>
10
11/// X86PrintCode - Print out the specified machine code function to the
12/// specified stream.  This function should work regardless of whether or not
13/// the function is in SSA form or not, although when in SSA form, we obviously
14/// don't care about being consumable by an assembler.
15///
16void X86PrintCode(const MachineFunction *MF, std::ostream &O) {
17  O << "x86 printing not implemented yet!\n";
18
19  // This should use the X86InstructionInfo::print method to print assembly for
20  // each instruction
21}
22