Package | Description |
---|---|
com.aparapi.internal.instruction | |
com.aparapi.internal.model |
Modifier and Type | Method and Description |
---|---|
boolean |
ExpressionList.foldComposite(Instruction _instruction)
Fold headTail.tail into valid composites
|
Modifier and Type | Field and Description |
---|---|
private static ValueCache<java.lang.Class<?>,ClassModel,ClassParseException> |
ClassModel.classModelCache |
private ValueCache<java.lang.String,java.lang.Integer,ClassParseException> |
ClassModel.privateMemorySizes |
Modifier and Type | Method and Description |
---|---|
(package private) void |
MethodModel.applyTransformations(ExpressionList _expressionList,
Instruction _instruction,
Instruction _operandStart) |
(package private) void |
MethodModel.checkForGetter(java.util.Map<java.lang.Integer,Instruction> pcMap)
Determine if this method is a getter and record the accessed field if so
|
(package private) void |
MethodModel.checkForSetter(java.util.Map<java.lang.Integer,Instruction> pcMap)
Determine if this method is a setter and record the accessed field if so
|
private java.lang.Integer |
ClassModel.computePrivateMemorySize(java.lang.String fieldName) |
static ClassModel |
ClassModel.createClassModel(java.lang.Class<?> _class) |
private static ClassModel |
ClassModel.createClassModelInternal(java.lang.Class<?> key) |
java.util.Map<java.lang.Integer,Instruction> |
MethodModel.createListOfInstructions()
Create a linked list of instructions (from pcHead to pcTail).
|
(package private) void |
MethodModel.foldExpressions()
Try to fold the instructions into higher level structures.
|
java.lang.Integer |
ClassModel.getPrivateMemorySize(java.lang.String fieldName)
If a field does not satisfy the private memory conditions, null, otherwise the size of private memory required.
|
static java.lang.Integer |
ClassModel.getPrivateMemorySizeFromFieldName(java.lang.String fieldName) |
(package private) void |
ClassModel.parse(java.lang.Class<?> _class) |
void |
MethodModel.txFormDups(ExpressionList _expressionList,
Instruction _instruction)
DUP family of instructions break our stack unwind model (whereby we treat instructions like the oeprands they create/consume).
|
Constructor and Description |
---|
ClassModel(java.lang.Class<?> _class)
Create a ClassModel representing a given Class.
|
ClassModel(java.lang.Class<?> _clazz,
byte[] _bytes) |