summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 23:55:19 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 23:55:19 +0000
commit75276f150e081464300810c58934abcc9c4b9f53 (patch)
treea2a6a94a5f3c276e4579237490b3f89784dd065a /lib/Target/X86/X86.h
parentc5b8b1a0404d3a57d6fd7e4af5e0e6b2f3b51633 (diff)
downloadllvm-75276f150e081464300810c58934abcc9c4b9f53.tar.gz
llvm-75276f150e081464300810c58934abcc9c4b9f53.tar.bz2
llvm-75276f150e081464300810c58934abcc9c4b9f53.tar.xz
Initial stab at MachineInstr'ication
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.h')
-rw-r--r--lib/Target/X86/X86.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h
index 135e55a4dd..aa4508a839 100644
--- a/lib/Target/X86/X86.h
+++ b/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