Chris Lattner | 7261408 | 2002-10-25 22:55:53 +0000 | [diff] [blame] | 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 | /// |
Chris Lattner | 75276f1 | 2002-10-28 23:55:19 +0000 | [diff] [blame] | 16 | void X86PrintCode(const MachineFunction *MF, std::ostream &O) { |
Chris Lattner | 7261408 | 2002-10-25 22:55:53 +0000 | [diff] [blame] | 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 | } |