diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-15 21:13:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-15 21:13:32 +0000 |
commit | 0a166155e71910515b79d482e69ac52deb47db06 (patch) | |
tree | 0472e6c7d98974d44c3058883c561860f74155b1 | |
parent | af3cdcf9b06f34077f2a5d654019f19815918d6e (diff) |
Simplify the interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5313 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetRegInfo.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h index a5b3bb40e6..a57a62ff56 100644 --- a/include/llvm/Target/TargetRegInfo.h +++ b/include/llvm/Target/TargetRegInfo.h @@ -76,8 +76,6 @@ public: // class (eg. int, float) must be returned. virtual unsigned getRegClassIDOfType (const Type *type, bool isCCReg = false) const =0; - virtual unsigned getRegClassIDOfValue (const Value *Val, - bool isCCReg = false) const =0; virtual unsigned getRegClassIDOfReg (int unifiedRegNum) const =0; virtual unsigned getRegClassIDOfRegType(int regType) const =0; @@ -179,14 +177,8 @@ public: // Returns the assembly-language name of the specified machine register. virtual const char * const getUnifiedRegName(int UnifiedRegNum) const = 0; - // The following 4 methods are used to find the RegType (a target-specific - // enum) for a reg class and a given primitive type, a LiveRange, a Value, - // or a particular machine register. - // The fifth function gives the reg class of the given RegType. - // - virtual int getRegType(unsigned regClassID, const Type* type) const = 0; + virtual int getRegType(const Type* type) const = 0; virtual int getRegType(const LiveRange *LR) const = 0; - virtual int getRegType(const Value *Val) const = 0; virtual int getRegType(int unifiedRegNum) const = 0; // The following methods are used to get the frame/stack pointers |