forked from OSchip/llvm-project
Moved RegClassIDs enum to be next to the RegTypes enum.
llvm-svn: 7114
This commit is contained in:
parent
55c8e21073
commit
c1db0fdd7e
|
@ -249,20 +249,6 @@ struct UltraSparcInstrInfo : public TargetInstrInfo {
|
|||
//----------------------------------------------------------------------------
|
||||
|
||||
class UltraSparcRegInfo : public TargetRegInfo {
|
||||
public:
|
||||
// The actual register classes in the Sparc
|
||||
//
|
||||
// **** WARNING: If this enum order is changed, also modify
|
||||
// getRegisterClassOfValue method below since it assumes this particular
|
||||
// order for efficiency.
|
||||
//
|
||||
enum RegClassIDs {
|
||||
IntRegClassID, // Integer
|
||||
FloatRegClassID, // Float (both single/double)
|
||||
IntCCRegClassID, // Int Condition Code
|
||||
FloatCCRegClassID, // Float Condition code
|
||||
SpecialRegClassID // Special (unallocated) registers
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
|
@ -328,6 +314,20 @@ public:
|
|||
SpecialRegType
|
||||
};
|
||||
|
||||
// The actual register classes in the Sparc
|
||||
//
|
||||
// **** WARNING: If this enum order is changed, also modify
|
||||
// getRegisterClassOfValue method below since it assumes this particular
|
||||
// order for efficiency.
|
||||
//
|
||||
enum RegClassIDs {
|
||||
IntRegClassID, // Integer
|
||||
FloatRegClassID, // Float (both single/double)
|
||||
IntCCRegClassID, // Int Condition Code
|
||||
FloatCCRegClassID, // Float Condition code
|
||||
SpecialRegClassID // Special (unallocated) registers
|
||||
};
|
||||
|
||||
UltraSparcRegInfo(const UltraSparc &tgt);
|
||||
|
||||
// To find the register class used for a specified Type
|
||||
|
|
Loading…
Reference in New Issue