/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/gen/ |
H A D | NodeMatchRules.java | 78 @MatchableNode(nodeClass = AndNode.class, inputs = {"x", "y"}, commutative = true) 79 @MatchableNode(nodeClass = FloatEqualsNode.class, inputs = {"x", "y"}, commutative = true) 80 @MatchableNode(nodeClass = FloatLessThanNode.class, inputs = {"x", "y"}, commutative = true) 81 @MatchableNode(nodeClass = PointerEqualsNode.class, inputs = {"x", "y"}, commutative = true) 82 @MatchableNode(nodeClass = AddNode.class, inputs = {"x", "y"}, commutative = true) 83 @MatchableNode(nodeClass = IntegerBelowNode.class, inputs = {"x", "y"}, commutative = true) 84 @MatchableNode(nodeClass = IntegerEqualsNode.class, inputs = {"x", "y"}, commutative = true) 85 @MatchableNode(nodeClass = IntegerLessThanNode.class, inputs = {"x", "y"}, commutative = true) 86 @MatchableNode(nodeClass = MulNode.class, inputs = {"x", "y"}, commutative = true) 87 @MatchableNode(nodeClass = IntegerTestNode.class, inputs = {"x", "y"}, commutative [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/match/ |
H A D | MatchableNode.java | 59 boolean commutative() default false;
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.common/src/org/graalvm/compiler/core/common/type/ |
H A D | ArithmeticOpTable.java | 487 protected Add(boolean associative, boolean commutative) { argument 488 super("+", associative, commutative); 494 protected Sub(boolean associative, boolean commutative) { argument 495 super("-", associative, commutative); 501 protected Mul(boolean associative, boolean commutative) { argument 502 super("*", associative, commutative); 508 protected MulHigh(boolean associative, boolean commutative) { argument 509 super("*H", associative, commutative); 515 protected UMulHigh(boolean associative, boolean commutative) { argument 516 super("|*H|", associative, commutative); 522 Div(boolean associative, boolean commutative) argument 529 Rem(boolean associative, boolean commutative) argument 536 And(boolean associative, boolean commutative) argument 543 Or(boolean associative, boolean commutative) argument 550 Xor(boolean associative, boolean commutative) argument 556 private final boolean commutative; field in class:ArithmeticOpTable.BinaryOp 558 BinaryOp(String operation, boolean associative, boolean commutative) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.match.processor/src/org/graalvm/compiler/core/match/processor/ |
H A D | MatchProcessor.java | 340 * compensate for any ordering differences in compare which are commutative but require 343 final boolean commutative; field in class:MatchProcessor.TypeDescriptor 353 TypeDescriptor(TypeMirror mirror, String shortName, String nodeClass, String nodePackage, String[] inputs, boolean commutative, boolean shareable) { argument 359 this.commutative = commutative; 361 assert !commutative || inputs.length == 2; 380 private void declareType(TypeMirror mirror, String shortName, String nodeClass, String nodePackage, String[] inputs, boolean commutative, boolean shareable, Element element) { argument 381 TypeDescriptor descriptor = new TypeDescriptor(mirror, shortName, nodeClass, nodePackage, inputs, commutative, shareable); 432 if (nodeType.commutative) { 442 * swap the inputs for commutative rule [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.amd64/src/org/graalvm/compiler/core/amd64/ |
H A D | AMD64ArithmeticLIRGenerator.java | 183 private Variable emitBinary(LIRKind resultKind, AMD64BinaryArithmetic op, OperandSize size, boolean commutative, Value a, Value b, boolean setFlags) { argument 185 return emitBinaryConst(resultKind, op, size, commutative, getLIRGen().asAllocatable(a), asConstantValue(b), setFlags); 186 } else if (commutative && isJavaConstant(a)) { 187 return emitBinaryConst(resultKind, op, size, commutative, getLIRGen().asAllocatable(b), asConstantValue(a), setFlags); 189 return emitBinaryVar(resultKind, op.getRMOpcode(size), size, commutative, getLIRGen().asAllocatable(a), getLIRGen().asAllocatable(b)); 193 private Variable emitBinary(LIRKind resultKind, AMD64RMOp op, OperandSize size, boolean commutative, Value a, Value b) { argument 196 } else if (commutative && isJavaConstant(a)) { 199 return emitBinaryVar(resultKind, op, size, commutative, getLIRGen().asAllocatable(a), getLIRGen().asAllocatable(b)); 203 private Variable emitBinary(LIRKind resultKind, AMD64RRMOp op, OperandSize size, boolean commutative, Value a, Value b) { argument 206 } else if (commutative 213 emitBinaryConst(LIRKind resultKind, AMD64BinaryArithmetic op, OperandSize size, boolean commutative, AllocatableValue a, ConstantValue b, boolean setFlags) argument 265 emitBinaryVar(LIRKind resultKind, AMD64RMOp op, OperandSize size, boolean commutative, AllocatableValue a, AllocatableValue b) argument 275 emitBinaryVar(LIRKind resultKind, AMD64RRMOp op, OperandSize size, boolean commutative, AllocatableValue a, AllocatableValue b) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.aarch64/src/org/graalvm/compiler/core/aarch64/ |
H A D | AArch64ArithmeticLIRGenerator.java | 290 protected Variable emitBinary(ValueKind<?> resultKind, AArch64ArithmeticOp op, boolean commutative, Value a, Value b) { argument 294 } else if (commutative && isValidBinaryConstant(op, b, a)) {
|