blob: 1a42ed86f84058ca9bc73f4b3deef859c2cea7b4 [file] [log] [blame]
Chris Lattner72614082002-10-25 22:55:53 +00001//===-- 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 Lattner75276f12002-10-28 23:55:19 +000016void X86PrintCode(const MachineFunction *MF, std::ostream &O) {
Chris Lattner72614082002-10-25 22:55:53 +000017 O << "x86 printing not implemented yet!\n";
18
19 // This should use the X86InstructionInfo::print method to print assembly for
20 // each instruction
21}