public static class NewObjectSnippets.Templates extends SnippetTemplate.AbstractTemplates
Modifier and Type | Field and Description |
---|---|
private SnippetTemplate.SnippetInfo |
allocateArray |
private SnippetTemplate.SnippetInfo |
allocateArrayDynamic |
private SnippetTemplate.SnippetInfo |
allocateInstance |
private SnippetTemplate.SnippetInfo |
allocateInstanceDynamic |
private SnippetTemplate.SnippetInfo |
newmultiarray |
private SnippetTemplate.SnippetInfo |
verifyHeap |
providers, snippetReflection, target
Constructor and Description |
---|
Templates(HotSpotProviders providers,
TargetDescription target) |
Modifier and Type | Method and Description |
---|---|
private static int |
instanceSize(HotSpotResolvedObjectType type) |
private static HotSpotResolvedObjectType |
lookupArrayClass(LoweringTool tool,
Kind kind) |
void |
lower(DynamicNewArrayNode newArrayNode,
HotSpotRegistersProvider registers,
LoweringTool tool) |
void |
lower(DynamicNewInstanceNode newInstanceNode,
HotSpotRegistersProvider registers,
LoweringTool tool) |
void |
lower(NewArrayNode newArrayNode,
HotSpotRegistersProvider registers,
HotSpotGraalRuntimeProvider runtime,
LoweringTool tool)
Lowers a
NewArrayNode . |
void |
lower(NewInstanceNode newInstanceNode,
HotSpotRegistersProvider registers,
LoweringTool tool)
Lowers a
NewInstanceNode . |
void |
lower(NewMultiArrayNode newmultiarrayNode,
LoweringTool tool) |
void |
lower(VerifyHeapNode verifyHeapNode,
HotSpotRegistersProvider registers,
HotSpotGraalRuntimeProvider runtime,
LoweringTool tool) |
findMethod, snippet, template
private final SnippetTemplate.SnippetInfo allocateInstance
private final SnippetTemplate.SnippetInfo allocateArray
private final SnippetTemplate.SnippetInfo allocateArrayDynamic
private final SnippetTemplate.SnippetInfo allocateInstanceDynamic
private final SnippetTemplate.SnippetInfo newmultiarray
private final SnippetTemplate.SnippetInfo verifyHeap
public Templates(HotSpotProviders providers, TargetDescription target)
public void lower(NewInstanceNode newInstanceNode, HotSpotRegistersProvider registers, LoweringTool tool)
NewInstanceNode
.public void lower(NewArrayNode newArrayNode, HotSpotRegistersProvider registers, HotSpotGraalRuntimeProvider runtime, LoweringTool tool)
NewArrayNode
.public void lower(DynamicNewInstanceNode newInstanceNode, HotSpotRegistersProvider registers, LoweringTool tool)
public void lower(DynamicNewArrayNode newArrayNode, HotSpotRegistersProvider registers, LoweringTool tool)
private static HotSpotResolvedObjectType lookupArrayClass(LoweringTool tool, Kind kind)
public void lower(NewMultiArrayNode newmultiarrayNode, LoweringTool tool)
private static int instanceSize(HotSpotResolvedObjectType type)
public void lower(VerifyHeapNode verifyHeapNode, HotSpotRegistersProvider registers, HotSpotGraalRuntimeProvider runtime, LoweringTool tool)