All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
boolean |
canChangeStackKind(GraphBuilderContext b)
If the plugin pushes a value with a different Kind
than specified by the bytecode, it must override this method and return true .
|
private ValueNode |
comparisonOp(GraphBuilderContext graph,
Condition condition,
ValueNode left,
ValueNode right) |
ValueNode |
convert(GraphBuilderContext b,
ValueNode value,
Kind toKind,
boolean unsigned) |
private static ValueNode |
createBinaryNodeInstance(Class<? extends ValueNode> nodeClass,
ValueNode left,
ValueNode right)
Create an instance of a binary node which is used to lower Word operations.
|
protected LoadIndexedNode |
createLoadIndexedNode(ValueNode array,
ValueNode index) |
protected StoreIndexedNode |
createStoreIndexedNode(ValueNode array,
ValueNode index,
ValueNode value) |
ValueNode |
fromSigned(GraphBuilderContext b,
ValueNode value) |
ValueNode |
fromUnsigned(GraphBuilderContext b,
ValueNode value) |
WordTypes |
getWordTypes() |
boolean |
handleCheckCast(GraphBuilderContext b,
ValueNode object,
ResolvedJavaType type,
JavaTypeProfile profile)
Handle the parsing of a CHECKCAST bytecode.
|
boolean |
handleInstanceOf(GraphBuilderContext b,
ValueNode object,
ResolvedJavaType type,
JavaTypeProfile profile)
Handle the parsing of a INSTANCEOF bytecode.
|
boolean |
handleInvoke(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args)
Processes a call to a method if it is annotated with Word.Operation by adding nodes to the
graph being built that implement the denoted operation.
|
boolean |
handleLoadField(GraphBuilderContext b,
ValueNode receiver,
ResolvedJavaField field)
Handle the parsing of a GETFIELD bytecode.
|
boolean |
handleLoadIndexed(GraphBuilderContext b,
ValueNode array,
ValueNode index,
Kind elementKind)
Handle the parsing of an array load bytecode.
|
boolean |
handleLoadStaticField(GraphBuilderContext b,
ResolvedJavaField staticField)
Handle the parsing of a GETSTATIC bytecode.
|
boolean |
handleStoreIndexed(GraphBuilderContext b,
ValueNode array,
ValueNode index,
Kind elementKind,
ValueNode value)
Handle the parsing of an array store bytecode.
|
FloatingNode |
interceptParameter(GraphBuilderContext b,
int index,
Stamp stamp) |
AddressNode |
makeAddress(GraphBuilderContext b,
ValueNode base,
ValueNode offset) |
void |
notifyNotInlined(GraphBuilderContext b,
ResolvedJavaMethod method,
Invoke invoke)
|
protected void |
processWordOperation(GraphBuilderContext b,
ValueNode[] args,
ResolvedJavaMethod wordMethod) |
static ValueNode |
readOp(GraphBuilderContext b,
Kind readKind,
AddressNode address,
LocationIdentity location,
HeapAccess.BarrierType barrierType,
boolean compressible) |
protected ValueNode |
readOp(GraphBuilderContext b,
Kind readKind,
AddressNode address,
LocationIdentity location,
Word.Opcode op) |
ValueNode |
toUnsigned(GraphBuilderContext b,
ValueNode value,
Kind toKind) |
protected void |
writeOp(GraphBuilderContext b,
Kind writeKind,
AddressNode address,
LocationIdentity location,
ValueNode value,
Word.Opcode op) |