Add support for structured printing
authorChris Lattner <sabre@nondot.org>
Wed, 30 Oct 2002 00:46:48 +0000 (00:46 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 30 Oct 2002 00:46:48 +0000 (00:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4432 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstr.h

index 048f884c66c50d2d388426e1029faad17dfd29ee..6b6b3255e3859e605a4099d4b204c255299981d8 100644 (file)
@@ -16,6 +16,7 @@
 class Value;
 class Function;
 class MachineBasicBlock;
+class TargetMachine;
 
 typedef int MachineOpCode;
 
@@ -325,7 +326,8 @@ public:
 
   //
   // Debugging support
-  // 
+  //
+  void print(std::ostream &OS, const TargetMachine &TM);
   void dump() const;
   friend std::ostream& operator<<(std::ostream& os, const MachineInstr& minstr);