1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-21 03:32:29 +00:00

Moved RegClassIDs enum to be next to the RegTypes enum.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-07-07 16:52:39 +00:00
parent 9c570ee129
commit de11f2d038

@ -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