diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-10-28 23:55:19 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-10-28 23:55:19 +0000 |
| commit | 1303f2f0574257f3ff5d3a82f97ff087f01559aa (patch) | |
| tree | 1e203e8921a7898f4bee65ceafc61b0160826ec3 /llvm/lib/Target/X86/X86.h | |
| parent | 820b037815c1fd720f83c27d3856c68fb8808463 (diff) | |
| download | bcm5719-llvm-1303f2f0574257f3ff5d3a82f97ff087f01559aa.tar.gz bcm5719-llvm-1303f2f0574257f3ff5d3a82f97ff087f01559aa.zip | |
Initial stab at MachineInstr'ication
llvm-svn: 4367
Diffstat (limited to 'llvm/lib/Target/X86/X86.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86.h b/llvm/lib/Target/X86/X86.h index 135e55a4dd5..aa4508a8394 100644 --- a/llvm/lib/Target/X86/X86.h +++ b/llvm/lib/Target/X86/X86.h @@ -11,32 +11,32 @@ #define TARGET_X86_H #include <iosfwd> -class MFunction; +class MachineFunction; class Function; /// X86PrintCode - Print out the specified machine code function to the /// specified stream. This function should work regardless of whether or not /// the function is in SSA form or not. /// -void X86PrintCode(const MFunction *MF, std::ostream &O); +void X86PrintCode(const MachineFunction *MF, std::ostream &O); /// X86SimpleInstructionSelection - This function converts an LLVM function into /// a machine code representation is a very simple peep-hole fashion. The /// generated code sucks but the implementation is nice and simple. /// -MFunction *X86SimpleInstructionSelection(Function &F); +MachineFunction *X86SimpleInstructionSelection(Function &F); /// X86SimpleRegisterAllocation - This function converts the specified machine /// code function from SSA form to use explicit registers by spilling every /// register. Wow, great policy huh? /// -inline void X86SimpleRegisterAllocation(MFunction *MF) {} +inline void X86SimpleRegisterAllocation(MachineFunction *MF) {} /// X86EmitCodeToMemory - This function converts a register allocated function /// into raw machine code in a dynamically allocated chunk of memory. A pointer /// to the start of the function is returned. /// -inline void *X86EmitCodeToMemory(MFunction *MF) { return 0; } +inline void *X86EmitCodeToMemory(MachineFunction *MF) { return 0; } // Put symbolic names in a namespace to avoid causing these to clash with all |

