public class HotSpotWordOperationPlugin extends WordOperationPlugin
WordOperationPlugin to handle HotSpot word
operations.InlineInvokePlugin.InlineInfosnippetReflection, wordKind, wordTypes| Modifier and Type | Method and Description |
|---|---|
protected LoadIndexedNode |
createLoadIndexedNode(ValueNode array,
ValueNode index,
GuardingNode boundsCheck) |
boolean |
handleInvoke(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args)
Processes a call to a method if it is annotated as a word operation by adding nodes to the
graph being built that implement the denoted operation.
|
protected void |
processHotSpotWordOperation(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args,
HotSpotOperation operation) |
canChangeStackKind, casOp, convert, createStoreIndexedNode, fromSigned, fromUnsigned, handleCheckCast, handleInstanceOf, handleLoadField, handleLoadIndexed, handleLoadStaticField, handleStoreField, handleStoreIndexed, handleStoreStaticField, interceptType, makeAddress, notifyNotInlined, processWordOperation, readOp, readOp, readVolatileOp, toUnsigned, writeOpclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertInvokeDynamic, handleNewArray, handleNewInstance, handleNewMultiArray, instrumentExceptionDispatchnotifyAfterInline, notifyBeforeInline, shouldInlineInvokeprotected LoadIndexedNode createLoadIndexedNode(ValueNode array, ValueNode index, GuardingNode boundsCheck)
createLoadIndexedNode in class WordOperationPluginpublic boolean handleInvoke(GraphBuilderContext b, ResolvedJavaMethod method, ValueNode[] args)
WordOperationPluginhandleInvoke in interface NodePluginhandleInvoke in class WordOperationPluginb - the contextmethod - the statically bound, invoked methodargs - the arguments of the method invocationtrue iff method is annotated with Word.Operation (and was thus
processed by this method)protected void processHotSpotWordOperation(GraphBuilderContext b, ResolvedJavaMethod method, ValueNode[] args, HotSpotOperation operation)