From 6a33f36645643f5c724c781fbcc297dafb76e771 Mon Sep 17 00:00:00 2001
From: Brian Gaeke
+
+
@@ -597,6 +601,28 @@ the following:
The
+runOnMachineFunction(MachineFunction &MF) method
+
+
+ virtual bool runOnMachineFunction(MachineFunction &MF) = 0;
+
+ +The runOnMachineFunction method is called on every +MachineFunction in a Module, so that the +MachineFunctionPass may perform optimizations on the +machine-dependent representation of the function. If you want to get +at the LLVM Function for the MachineFunction you're +working on, use MachineFunction's getFunction() +accessor method -- but remember, you may not modify the LLVM +Function or its contents from a +MachineFunctionPass.
+
@@ -1250,6 +1276,6 @@ href="#Pass">Pass, only the other way around. Chris Lattner -Last modified: Mon Jul 14 12:12:53 CDT 2003 +Last modified: Tue Jul 22 15:52:30 CDT 2003 |