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