class HotSpotWordOperationPlugin extends WordOperationPlugin
WordOperationPlugin to handle HotSpot word
operations.InlineInvokePlugin.InlineInfosnippetReflection, wordKind, wordTypes| Constructor and Description |
|---|
HotSpotWordOperationPlugin(SnippetReflectionProvider snippetReflection,
HotSpotWordTypes wordTypes) |
| Modifier and Type | Method and Description |
|---|---|
protected LoadIndexedNode |
createLoadIndexedNode(ValueNode array,
ValueNode index) |
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. |
protected void |
processHotSpotWordOperation(GraphBuilderContext b,
ResolvedJavaMethod method,
ValueNode[] args,
HotSpotOperation operation) |
(package private) HotSpotWordTypes |
wordTypes() |
canChangeStackKind, convert, createStoreIndexedNode, fromSigned, fromUnsigned, getWordTypes, handleCheckCast, handleInstanceOf, handleLoadField, handleLoadIndexed, handleLoadStaticField, handleStoreIndexed, interceptParameter, makeAddress, notifyNotInlined, processWordOperation, readOp, readOp, toUnsigned, writeOpclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleStoreField, handleStoreStaticFieldnotifyAfterInline, notifyBeforeInline, shouldInlineInvokepublic HotSpotWordOperationPlugin(SnippetReflectionProvider snippetReflection, HotSpotWordTypes wordTypes)
HotSpotWordTypes wordTypes()
protected LoadIndexedNode createLoadIndexedNode(ValueNode array, ValueNode index)
createLoadIndexedNode in class WordOperationPluginpublic boolean handleInvoke(GraphBuilderContext b, ResolvedJavaMethod method, ValueNode[] args)
WordOperationPluginWord.Operation by adding nodes to the
graph being built that implement the denoted operation.handleInvoke 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)