Be compatible with sparc backend

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-10-29 17:43:38 +00:00
parent 9bbf439e38
commit a535fabe7d

View File

@ -13,6 +13,7 @@
#include <iosfwd> #include <iosfwd>
class MachineFunction; class MachineFunction;
class Function; class Function;
class TargetMachine;
/// X86PrintCode - Print out the specified machine code function to the /// X86PrintCode - Print out the specified machine code function to the
/// specified stream. This function should work regardless of whether or not /// specified stream. This function should work regardless of whether or not
@ -24,7 +25,7 @@ void X86PrintCode(const MachineFunction *MF, std::ostream &O);
/// a machine code representation is a very simple peep-hole fashion. The /// a machine code representation is a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple. /// generated code sucks but the implementation is nice and simple.
/// ///
MachineFunction *X86SimpleInstructionSelection(Function &F); MachineFunction *X86SimpleInstructionSelection(Function &F, TargetMachine &TM);
/// X86SimpleRegisterAllocation - This function converts the specified machine /// X86SimpleRegisterAllocation - This function converts the specified machine
/// code function from SSA form to use explicit registers by spilling every /// code function from SSA form to use explicit registers by spilling every