[llvm-commits] CVS: llvm/include/llvm/Target/TargetRegInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 15 15:14:01 PST 2003
Changes in directory llvm/include/llvm/Target:
TargetRegInfo.h updated: 1.31 -> 1.32
---
Log message:
Simplify the interface
---
Diffs of the changes:
Index: llvm/include/llvm/Target/TargetRegInfo.h
diff -u llvm/include/llvm/Target/TargetRegInfo.h:1.31 llvm/include/llvm/Target/TargetRegInfo.h:1.32
--- llvm/include/llvm/Target/TargetRegInfo.h:1.31 Tue Jan 14 15:59:58 2003
+++ llvm/include/llvm/Target/TargetRegInfo.h Wed Jan 15 15:13:32 2003
@@ -76,8 +76,6 @@
// 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 @@
// 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
More information about the llvm-commits
mailing list