public abstract class ArithmeticSnippets extends SubstrateTemplates implements org.graalvm.compiler.replacements.Snippets
Modifier and Type | Class and Description |
---|---|
protected class |
ArithmeticSnippets.DivRemLowering |
static class |
ArithmeticSnippets.IdentityLowering |
Modifier | Constructor and Description |
---|---|
protected |
ArithmeticSnippets(org.graalvm.compiler.options.OptionValues options,
Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories,
org.graalvm.compiler.phases.util.Providers providers,
org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection,
Map<Class<? extends org.graalvm.compiler.graph.Node>,NodeLoweringProvider<?>> lowerings) |
Modifier and Type | Method and Description |
---|---|
protected static int |
idivSnippet(int x,
int y,
boolean needsZeroCheck) |
protected static int |
iremSnippet(int x,
int y,
boolean needsZeroCheck) |
protected static long |
ldivSnippet(long x,
long y,
boolean needsZeroCheck) |
protected static long |
lremSnippet(long x,
long y,
boolean needsZeroCheck) |
protected static int |
uidivSnippet(int x,
int y,
boolean needsZeroCheck) |
protected static int |
uiremSnippet(int x,
int y,
boolean needsZeroCheck) |
protected static long |
uldivSnippet(long x,
long y,
boolean needsZeroCheck) |
protected static long |
ulremSnippet(long x,
long y,
boolean needsZeroCheck) |
snippet, snippet, snippet, snippet
protected ArithmeticSnippets(org.graalvm.compiler.options.OptionValues options, Iterable<org.graalvm.compiler.debug.DebugHandlersFactory> factories, org.graalvm.compiler.phases.util.Providers providers, org.graalvm.compiler.api.replacements.SnippetReflectionProvider snippetReflection, Map<Class<? extends org.graalvm.compiler.graph.Node>,NodeLoweringProvider<?>> lowerings)
protected static int idivSnippet(int x, int y, boolean needsZeroCheck)
protected static long ldivSnippet(long x, long y, boolean needsZeroCheck)
protected static int iremSnippet(int x, int y, boolean needsZeroCheck)
protected static long lremSnippet(long x, long y, boolean needsZeroCheck)
protected static int uidivSnippet(int x, int y, boolean needsZeroCheck)
protected static long uldivSnippet(long x, long y, boolean needsZeroCheck)
protected static int uiremSnippet(int x, int y, boolean needsZeroCheck)
protected static long ulremSnippet(long x, long y, boolean needsZeroCheck)