public interface TranslationAdvice
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxOptimalRegisterCount()
Gets the maximum register width that can be represented optimally.
|
boolean |
hasConstantOperation(Rop opcode,
RegisterSpec sourceA,
RegisterSpec sourceB)
Returns an indication of whether the target can directly represent an
instruction with the given opcode operating on the given arguments,
where the last source argument is used as a constant.
|
boolean |
requiresSourcesInOrder(Rop opcode,
RegisterSpecList sources)
Returns true if the translation target requires the sources of the
specified opcode to be in order and contiguous (eg, for an invoke-range)
|
boolean hasConstantOperation(Rop opcode, RegisterSpec sourceA, RegisterSpec sourceB)
opcode - non-null; the opcodesourceA - non-null; the first sourcesourceB - non-null; the second sourcetrue iff the target can represent the operation
using a constant for the last argumentboolean requiresSourcesInOrder(Rop opcode, RegisterSpecList sources)
opcode - non-null; opcodesources - non-null; source listtrue iff the target requires the sources to be
in order and contiguous.int getMaxOptimalRegisterCount()
Copyright © 2020. All Rights Reserved.