public static class SPARCAssembler.BitKeyIndex extends Object
SPARCAssembler.BitSpec
objects to find the most accurate SPARCOp.Modifier and Type | Field and Description |
---|---|
private Map<Integer,SPARCAssembler.BitKeyIndex> |
nodes |
private SPARCAssembler.SPARCOp |
op |
private SPARCAssembler.BitSpec |
spec |
Constructor and Description |
---|
BitKeyIndex(SPARCAssembler.BitSpec spec) |
BitKeyIndex(SPARCAssembler.SPARCOp op) |
Modifier and Type | Method and Description |
---|---|
private void |
addOp(List<SPARCAssembler.BitKey> keys,
SPARCAssembler.SPARCOp operation)
Adds operation to the index.
|
SPARCAssembler.SPARCOp |
find(int inst)
Finds the best matching
SPARCAssembler.SPARCOp for this instruction. |
String |
toString() |
private final SPARCAssembler.BitSpec spec
private final Map<Integer,SPARCAssembler.BitKeyIndex> nodes
private SPARCAssembler.SPARCOp op
public BitKeyIndex(SPARCAssembler.SPARCOp op)
public BitKeyIndex(SPARCAssembler.BitSpec spec)
private void addOp(List<SPARCAssembler.BitKey> keys, SPARCAssembler.SPARCOp operation)
keys
- Ordered by the importanceoperation
- Operation represented by this list of keyspublic SPARCAssembler.SPARCOp find(int inst)
SPARCAssembler.SPARCOp
for this instruction.