Modifier | Constructor and Description |
---|---|
private |
Location(Register reg,
int offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRegister() |
boolean |
isStack() |
static Location |
register(Register reg)
Create a
Location for a register. |
static Location |
stack(int offset)
Create a
Location for a stack slot. |
static Location |
subregister(Register reg,
int offset)
Create a
Location for a vector subregister. |
String |
toString() |
public static Location subregister(Register reg, int offset)
Location
for a vector subregister.reg
- the vector register
offset
- the offset in bytes into the vector registerpublic boolean isRegister()
public boolean isStack()