mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 06:27:16 +00:00
Put register classes in namespaces
llvm-svn: 22924
This commit is contained in:
parent
15d2e8a253
commit
9d61d4a3e4
@ -79,7 +79,7 @@ def F30 : FPR<30, "$f30">; def F31 : FPR<31, "$f31">;
|
||||
|
||||
/// Register classes
|
||||
// Don't allocate 15, 28, 30, 31
|
||||
def GPRC : RegisterClass<i64, 64,
|
||||
def GPRC : RegisterClass<"Alpha", i64, 64,
|
||||
// Volatile
|
||||
[R0, R1, R2, R3, R4, R5, R6, R7, R8, R16, R17, R18, R19, R20, R21, R22,
|
||||
R23, R24, R25,
|
||||
@ -93,7 +93,7 @@ def GPRC : RegisterClass<i64, 64,
|
||||
|
||||
// Don't allocate 15, 29, 30, 31
|
||||
// Allocation volatiles only for now
|
||||
def FPRC : RegisterClass<f64, 64, [F0, F1,
|
||||
def FPRC : RegisterClass<"Alpha", f64, 64, [F0, F1,
|
||||
F10, F11, F12, F13, F14, F15, F16, F17, F18, F19,
|
||||
F20, F21, F22, F23, F24, F25, F26, F27, F28, F29, F30,
|
||||
// Saved:
|
||||
|
@ -233,7 +233,7 @@ def B6 : GR<0, "b6">;
|
||||
// FIXME/XXX we also reserve r22 for calculating addresses
|
||||
// in IA64RegisterInfo.cpp
|
||||
|
||||
def GR : RegisterClass<i64, 64,
|
||||
def GR : RegisterClass<"IA64", i64, 64,
|
||||
[
|
||||
|
||||
//FIXME!: for readability, we don't want the out registers to be the first
|
||||
@ -279,7 +279,7 @@ def GR : RegisterClass<i64, 64,
|
||||
|
||||
// these are the scratch (+stacked) FP registers
|
||||
// ZERO (F0) and ONE (F1) are not here
|
||||
def FP : RegisterClass<f64, 64,
|
||||
def FP : RegisterClass<"IA64", f64, 64,
|
||||
[F6, F7,
|
||||
F8, F9, F10, F11, F12, F13, F14, F15,
|
||||
F32, F33, F34, F35, F36, F37, F38, F39,
|
||||
@ -296,7 +296,7 @@ def FP : RegisterClass<f64, 64,
|
||||
F120, F121, F122, F123, F124, F125, F126, F127]>;
|
||||
|
||||
// these are the predicate registers, p0 (1/TRUE) is not here
|
||||
def PR : RegisterClass<i1, 64,
|
||||
def PR : RegisterClass<"IA64", i1, 64,
|
||||
|
||||
// for now, let's be wimps and only have the scratch predicate regs
|
||||
[p6, p7, p8, p9, p10, p11, p12, p13, p14, p15]> {
|
||||
|
Loading…
Reference in New Issue
Block a user