forked from OSchip/llvm-project
Add function getRegClassIDOfType.
getRegClassIDOfValue is now just a wrapper around this. llvm-svn: 1897
This commit is contained in:
parent
493b8241e0
commit
a1cbf5e076
|
@ -14,6 +14,7 @@
|
|||
|
||||
class TargetMachine;
|
||||
class IGNode;
|
||||
class Type;
|
||||
class Value;
|
||||
class LiveRangeInfo;
|
||||
class Method;
|
||||
|
@ -84,6 +85,8 @@ public:
|
|||
// condition code register. If isCCReg is true below, the ID of the condition
|
||||
// code regiter class will be returned. Otherwise, the normal register
|
||||
// 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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue