|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
java.util.LinkedList<MIPSRegister>
edu.ustc.cs.compile.arch.mips.regalloc.RegPool
public class RegPool
Register Pool.
All hard registers that can be allocated to pseudo registers are put in a register pool. All hard registers in the register pool are equivalent.
| 字段摘要 |
|---|
| 从类 java.util.AbstractList 继承的字段 |
|---|
modCount |
| 构造函数摘要 | |
|---|---|
RegPool()
|
|
| 方法摘要 | |
|---|---|
java.lang.Object |
clone()
Get a shadow copy of this register pool. |
MIPSRegister |
get()
Remove a hard register from this register pool. |
boolean |
isEmpty()
Indicates whether this register pool is empty. |
void |
put(MIPSRegister reg)
Put a hard register in the this reigster pool. |
| 从类 java.util.LinkedList 继承的方法 |
|---|
add, add, addAll, addAll, addFirst, addLast, clear, contains, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, peek, poll, remove, remove, remove, removeFirst, removeLast, set, size, toArray, toArray |
| 从类 java.util.AbstractSequentialList 继承的方法 |
|---|
iterator |
| 从类 java.util.AbstractList 继承的方法 |
|---|
equals, hashCode, listIterator, removeRange, subList |
| 从类 java.util.AbstractCollection 继承的方法 |
|---|
containsAll, removeAll, retainAll, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 从接口 java.util.List 继承的方法 |
|---|
containsAll, equals, hashCode, iterator, listIterator, removeAll, retainAll, subList |
| 构造函数详细信息 |
|---|
public RegPool()
| 方法详细信息 |
|---|
public void put(MIPSRegister reg)
Put a hard register in the this reigster pool.
reg - the hard registerpublic MIPSRegister get()
Remove a hard register from this register pool.
public boolean isEmpty()
Indicates whether this register pool is empty.
java.util.Collection<MIPSRegister> 中的 isEmptyjava.util.List<MIPSRegister> 中的 isEmptyjava.util.AbstractCollection<MIPSRegister> 中的 isEmptypublic java.lang.Object clone()
Get a shadow copy of this register pool.
The shadow copy and the orignal register pool share the same registers.
java.util.LinkedList<MIPSRegister> 中的 clone
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造函数 | 方法 | 详细信息: 字段 | 构造函数 | 方法 | ||||||||