From c5258a421024bcaa93d5f7bab872df97f60ee4a5 Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Sat, 15 Sep 2001 00:34:31 +0000 Subject: [PATCH] added reg alloc support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@588 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/Machine.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.34.1