| Package | Description |
|---|---|
| com.android.dx.cf.code | |
| com.android.dx.rop.code | |
| com.android.dx.rop.cst | |
| com.android.dx.rop.type | |
| com.android.dx.ssa |
| Modifier and Type | Method and Description |
|---|---|
static TypeBearer |
Merger.mergeType(TypeBearer ft1,
TypeBearer ft2)
Merges two frame types.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeBearer |
Merger.mergeType(TypeBearer ft1,
TypeBearer ft2)
Merges two frame types.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RegisterSpec
Combination of a register number and a type, used as the sources and
destinations of register-based operations.
|
| Modifier and Type | Method and Description |
|---|---|
TypeBearer |
RegisterSpec.getFrameType()
Gets the frame type corresponding to this type.
|
TypeBearer |
RegisterSpec.getTypeBearer()
Gets the type (or actual value) which is loaded from or stored
to the register associated with this instance.
|
| Modifier and Type | Method and Description |
|---|---|
static RegisterSpec |
RegisterSpec.make(int reg,
TypeBearer type)
Returns an instance for the given register number and type, with
no variable info.
|
static RegisterSpec |
RegisterSpec.make(int reg,
TypeBearer type,
LocalItem local)
Returns an instance for the given register number, type, and
variable info.
|
static RegisterSpec |
RegisterSpec.makeLocalOptional(int reg,
TypeBearer type,
LocalItem local)
Returns an instance for the given register number, type, and
variable info.
|
static Rop |
Rops.opAget(TypeBearer type)
Returns the appropriate
aget rop for the given type. |
static Rop |
Rops.opAput(TypeBearer type)
Returns the appropriate
aput rop for the given type. |
static Rop |
Rops.opCmpg(TypeBearer type)
Returns the appropriate
cmpg rop for the given type. |
static Rop |
Rops.opCmpl(TypeBearer type)
Returns the appropriate
cmpl rop for the given type. |
static Rop |
Rops.opConst(TypeBearer type)
Returns the appropriate
const rop for the given
type. |
static Rop |
Rops.opConv(TypeBearer dest,
TypeBearer source)
Returns the appropriate
conv rop for the given types. |
static Rop |
Rops.opFilledNewArray(TypeBearer arrayType,
int count)
Returns the appropriate
filled-new-array rop for the given
type. |
static Rop |
Rops.opGetField(TypeBearer type)
Returns the appropriate
get-field rop for the given
type. |
static Rop |
Rops.opGetStatic(TypeBearer type)
Returns the appropriate
get-static rop for the given
type. |
static Rop |
Rops.opMarkLocal(TypeBearer type)
Returns the appropriate
mark-local rop for the given type. |
static Rop |
Rops.opMove(TypeBearer type)
Returns the appropriate
move rop for the given type. |
static Rop |
Rops.opMoveException(TypeBearer type)
Returns the appropriate
move-exception rop for the
given type. |
static Rop |
Rops.opMoveParam(TypeBearer type)
Returns the appropriate
move-param rop for the
given type. |
static Rop |
Rops.opMoveResult(TypeBearer type)
Returns the appropriate
move-result rop for the
given type. |
static Rop |
Rops.opMoveResultPseudo(TypeBearer type)
Returns the appropriate
move-result-pseudo rop for the
given type. |
static Rop |
Rops.opNeg(TypeBearer type)
Returns the appropriate
neg rop for the given type. |
static Rop |
Rops.opNewArray(TypeBearer arrayType)
Returns the appropriate
new-array rop for the given
type. |
static Rop |
Rops.opNot(TypeBearer type)
Returns the appropriate
not rop for the given type. |
static Rop |
Rops.opPutField(TypeBearer type)
Returns the appropriate
put-field rop for the given
type. |
static Rop |
Rops.opPutStatic(TypeBearer type)
Returns the appropriate
put-static rop for the given
type. |
static Rop |
Rops.opReturn(TypeBearer type)
Returns the appropriate
return rop for the given type. |
static Rop |
Rops.ropFor(int opcode,
TypeBearer dest,
TypeList sources,
Constant cst)
Returns the appropriate rop for the given opcode, destination,
and sources.
|
RegisterSpec |
RegisterSpec.withType(TypeBearer newType)
Returns an instance that is identical to this one, except that
the type is replaced by the given one.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CstBaseMethodRef
Base class for constants of "methodish" type.
|
class |
CstBoolean
Constants of type
boolean. |
class |
CstByte
Constants of type
byte. |
class |
CstChar
Constants of type
char. |
class |
CstDouble
Constants of type
CONSTANT_Double_info. |
class |
CstEnumRef
Constant type to represent a reference to a particular constant
value of an enumerated type.
|
class |
CstFieldRef
Constants of type
CONSTANT_Fieldref_info. |
class |
CstFloat
Constants of type
CONSTANT_Float_info. |
class |
CstInteger
Constants of type
CONSTANT_Integer_info. |
class |
CstInterfaceMethodRef
Constants of type
CONSTANT_InterfaceMethodref_info. |
class |
CstKnownNull
Constant type to represent a known-
null value. |
class |
CstLiteral32
Constants which are literal 32-bit values of some sort.
|
class |
CstLiteral64
Constants which are literal 64-bit values of some sort.
|
class |
CstLiteralBits
Constants which are literal bitwise values of some sort.
|
class |
CstLong
Constants of type
CONSTANT_Long_info. |
class |
CstMemberRef
Constants of type
CONSTANT_*ref_info. |
class |
CstMethodRef
Constants of type
CONSTANT_Methodref_info. |
class |
CstShort
Constants of type
short. |
class |
CstString
Constants of type
CONSTANT_Utf8_info or CONSTANT_String_info. |
class |
CstType
Constants that represent an arbitrary type (reference or primitive).
|
class |
TypedConstant
Base class for constants which implement
TypeBearer. |
| Modifier and Type | Method and Description |
|---|---|
TypeBearer |
TypedConstant.getFrameType()
Gets the frame type corresponding to this type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Type
Representation of a value type, such as may appear in a field, in a
local, on a stack, or in a method descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
TypeBearer |
TypeBearer.getFrameType()
Gets the frame type corresponding to this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PhiInsn.changeResultType(TypeBearer type,
LocalItem local)
Changes the result type.
|
Copyright © 2014. All Rights Reserved.