From: Ruchira Sasanka Date: Sat, 15 Sep 2001 00:34:31 +0000 (+0000) Subject: added reg alloc support X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c5258a421024bcaa93d5f7bab872df97f60ee4a5;p=oota-llvm.git added reg alloc support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@588 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/Machine.h b/include/llvm/Target/Machine.h index 2f1fe521948..3320c35b34c 100644 --- a/include/llvm/Target/Machine.h +++ b/include/llvm/Target/Machine.h @@ -14,6 +14,7 @@ class TargetMachine; class MachineInstrInfo; class MachineInstrDescriptor; +class MachineRegInfo; //--------------------------------------------------------------------------- // Data types used to define information about a single machine instruction @@ -56,6 +57,8 @@ public: virtual const MachineInstrInfo& getInstrInfo() const = 0; + virtual const MachineRegInfo& getRegInfo() const = 0; + virtual unsigned int findOptimalStorageSize (const Type* ty) const; // This really should be in the register info class