Searched refs:BinaryOp (Results 1 - 19 of 19) sorted by relevance

/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/
H A DJOp.java44 return (e instanceof UnaryOp) || (e instanceof BinaryOp);
118 static private class BinaryOp extends JExpressionImpl { class in class:JOp
124 BinaryOp(String op, JExpression left, JGenerable right) { method in class:JOp.BinaryOp
137 return new BinaryOp("+", left, right);
141 return new BinaryOp("-", left, right);
145 return new BinaryOp("*", left, right);
149 return new BinaryOp("/", left, right);
153 return new BinaryOp("%", left, right);
157 return new BinaryOp("<<", left, right);
161 return new BinaryOp(">>", lef
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/
H A DArithmeticOpTable.java32 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Add;
33 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.And;
34 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Div;
35 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Mul;
36 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.MulHigh;
37 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Or;
38 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Rem;
39 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Sub;
40 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.UMulHigh;
41 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp
483 public abstract static class BinaryOp<T> extends Op { class in class:ArithmeticOpTable
558 protected BinaryOp(String operation, boolean associative, boolean commutative) { method in class:ArithmeticOpTable.BinaryOp
[all...]
H A DFloatStamp.java37 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
329 new BinaryOp.Add(false, true) {
366 new BinaryOp.Sub(false, false) {
403 new BinaryOp.Mul(false, true) {
444 new BinaryOp.Div(false, false) {
481 new BinaryOp.Rem(false, false) {
528 new BinaryOp.And(true, true) {
568 new BinaryOp.Or(true, true) {
608 new BinaryOp.Xor(true, true) {
H A DIntegerStamp.java36 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
609 new BinaryOp.Add(true, true) {
669 new BinaryOp.Sub(true, false) {
697 new BinaryOp.Mul(true, true) {
861 new BinaryOp.MulHigh(true, true) {
928 new BinaryOp.UMulHigh(true, true) {
1019 new BinaryOp.Div(true, false) {
1050 new BinaryOp.Rem(false, false) {
1101 new BinaryOp.And(true, true) {
1128 new BinaryOp
[all...]
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/
H A DOrNode.java26 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
27 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Or;
54 BinaryOp<Or> op = ArithmeticOpTable.forStamp(x.stamp()).getOr();
73 private static ValueNode canonical(OrNode self, BinaryOp<Or> op, Stamp stamp, ValueNode forX, ValueNode forY) {
H A DXorNode.java26 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
27 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Xor;
55 BinaryOp<Xor> op = ArithmeticOpTable.forStamp(x.stamp()).getXor();
74 private static ValueNode canonical(XorNode self, BinaryOp<Xor> op, Stamp stamp, ValueNode forX, ValueNode forY) {
H A DDivNode.java28 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
29 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Div;
57 BinaryOp<Div> op = ArithmeticOpTable.forStamp(x.stamp()).getDiv();
76 private static ValueNode canonical(DivNode self, BinaryOp<Div> op, ValueNode forX, ValueNode forY) {
H A DSubNode.java26 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
27 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Sub;
57 BinaryOp<Sub> op = ArithmeticOpTable.forStamp(x.stamp()).getSub();
66 private static ValueNode canonical(SubNode subNode, BinaryOp<Sub> op, Stamp stamp, ValueNode forX, ValueNode forY) {
160 BinaryOp<Sub> op = getOp(forX, forY);
H A DMulNode.java29 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
30 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Mul;
60 BinaryOp<Mul> op = ArithmeticOpTable.forStamp(x.stamp()).getMul();
85 BinaryOp<Mul> op = getOp(forX, forY);
89 private static ValueNode canonical(MulNode self, BinaryOp<Mul> op, Stamp stamp, ValueNode forX, ValueNode forY) {
H A DAddNode.java26 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
27 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Add;
55 BinaryOp<Add> op = ArithmeticOpTable.forStamp(x.stamp()).getAdd();
68 private static ValueNode canonical(AddNode addNode, BinaryOp<Add> op, ValueNode forX, ValueNode forY) {
127 BinaryOp<Add> op = getOp(forX, forY);
H A DRemNode.java28 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Rem;
H A DAndNode.java26 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
27 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.And;
55 BinaryOp<And> op = ArithmeticOpTable.forStamp(x.stamp()).getAnd();
74 private static ValueNode canonical(AndNode self, BinaryOp<And> op, Stamp stamp, ValueNode forX, ValueNode forY) {
H A DBinaryArithmeticNode.java32 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
57 protected interface SerializableBinaryFunction<T> extends Function<ArithmeticOpTable, BinaryOp<T>>, Serializable {
67 protected final BinaryOp<OP> getOp(ValueNode forX, ValueNode forY) {
74 public final BinaryOp<OP> getArithmeticOp() {
91 public static <OP> ConstantNode tryConstantFold(BinaryOp<OP> op, ValueNode forX, ValueNode forY, Stamp stamp) {
188 * This method accepts only {@linkplain BinaryOp#isAssociative() associative} operations such as
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/nodes/arithmetic/
H A DUnsignedMulHighNode.java29 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.UMulHigh;
H A DIntegerMulHighNode.java29 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.MulHigh;
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/
H A DAArch64ArithmeticOp.java220 public static class BinaryOp extends AArch64LIRInstruction { class in class:AArch64ArithmeticOp
221 private static final LIRInstructionClass<BinaryOp> TYPE = LIRInstructionClass.create(BinaryOp.class);
228 public BinaryOp(AArch64ArithmeticOp op, AllocatableValue result, AllocatableValue a, AllocatableValue b) { method in class:AArch64ArithmeticOp.BinaryOp
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/
H A DConditionalEliminationPhase.java31 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
32 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.And;
33 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp.Or;
550 BinaryOp<Or> op = ArithmeticOpTable.forStamp(x.stamp()).getOr();
649 BinaryOp<And> andOp = ArithmeticOpTable.forStamp(newStamp).getAnd();
835 BinaryOp<Or> op = ArithmeticOpTable.forStamp(x.stamp()).getOr();
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes.test/src/org/graalvm/compiler/nodes/test/
H A DIntegerStampTest.java31 import org.graalvm.compiler.core.common.type.ArithmeticOpTable.BinaryOp;
431 private static void testSomeMulHigh(BinaryOp<?> someMulHigh) {
511 private static void testMulHigh(BinaryOp<?> someMulHigh, long a, long b, int bits) {
516 private static long getExpectedValue(BinaryOp<?> someMulHigh, long a, long b, int bits) {
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.aarch64/src/org/graalvm/compiler/core/aarch64/
H A DAArch64ArithmeticLIRGenerator.java312 getLIRGen().append(new AArch64ArithmeticOp.BinaryOp(op, result, x, y));

Completed in 96 milliseconds