/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/calc/ |
H A D | ConditionalNode.java | 59 @Input ValueNode falseValue; field in class:ConditionalNode 69 public ConditionalNode(LogicNode condition, ValueNode trueValue, ValueNode falseValue) { argument 70 super(TYPE, trueValue.stamp().meet(falseValue.stamp())); 71 assert trueValue.stamp().isCompatible(falseValue.stamp()); 74 this.falseValue = falseValue; 81 public static ValueNode create(LogicNode condition, ValueNode trueValue, ValueNode falseValue) { argument 82 ValueNode synonym = findSynonym(condition, trueValue, falseValue); 86 ValueNode result = canonicalizeConditional(condition, trueValue, falseValue, trueValue.stamp().meet(falseValue 128 public ValueNode falseValue() { method in class:ConditionalNode 147 canonicalizeConditional(LogicNode condition, ValueNode trueValue, ValueNode falseValue, Stamp stamp) argument 226 findSynonym(ValueNode condition, ValueNode trueValue, ValueNode falseValue) argument [all...] |
H A D | IntegerEqualsNode.java | 72 if (conditionalNode.falseValue() == y) { 80 if (conditionalNode.falseValue() == x) {
|
H A D | CompareNode.java | 210 Constant falseConstant = conditionalNode.falseValue().asConstant();
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements/src/org/graalvm/compiler/replacements/ |
H A D | InstanceOfSnippetsTemplates.java | 116 ValueNode falseValue = ConstantNode.forInt(0, graph); 117 if (instantiation.isInitialized() && (trueValue != instantiation.trueValue || falseValue != instantiation.falseValue)) { 123 falseValue = instantiation.falseValue; 125 replacer = new NonMaterializationUsageReplacer(instantiation, trueValue, falseValue, instanceOf, usage); 129 replacer = new MaterializationUsageReplacer(instantiation, c.trueValue(), c.falseValue(), instanceOf, c); 140 return cn.trueValue().isConstant() && cn.falseValue().isConstant(); 157 private ValueNode falseValue; field in class:InstanceOfSnippetsTemplates.Instantiation 170 this.falseValue 216 public final ValueNode falseValue; field in class:InstanceOfSnippetsTemplates.InstanceOfUsageReplacer 218 InstanceOfUsageReplacer(Instantiation instantiation, FloatingNode instanceOf, ValueNode trueValue, ValueNode falseValue) argument 240 NonMaterializationUsageReplacer(Instantiation instantiation, ValueNode trueValue, ValueNode falseValue, FloatingNode instanceOf, Node usage) argument 268 MaterializationUsageReplacer(Instantiation instantiation, ValueNode trueValue, ValueNode falseValue, FloatingNode instanceOf, ConditionalNode usage) argument [all...] |
H A D | StandardGraphBuilderPlugins.java | 465 ValueNode falseValue = ConstantNode.forBoolean(negate, graph); 473 b.addPush(JavaKind.Boolean, new ConditionalNode(compare, trueValue, falseValue));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/replacements/ |
H A D | InstanceOfSnippets.java | 99 public static Object instanceofWithProfile(Object object, @VarargsParameter KlassPointer[] hints, @VarargsParameter boolean[] hintIsPositive, Object trueValue, Object falseValue, argument 108 return falseValue; 119 return positive ? trueValue : falseValue; 128 return falseValue; 135 public static Object instanceofExact(Object object, KlassPointer exactHub, Object trueValue, Object falseValue, @ConstantParameter Counters counters) { argument 138 return falseValue; 144 return falseValue; 154 public static Object instanceofPrimary(KlassPointer hub, Object object, @ConstantParameter int superCheckOffset, Object trueValue, Object falseValue, @ConstantParameter Counters counters) { argument 157 return falseValue; 163 return falseValue; 173 instanceofSecondary(KlassPointer hub, Object object, @VarargsParameter KlassPointer[] hints, @VarargsParameter boolean[] hintIsPositive, Object trueValue, Object falseValue, @ConstantParameter Counters counters) argument 202 instanceofDynamic(KlassPointer hub, Object object, Object trueValue, Object falseValue, @ConstantParameter boolean allowNull, @ConstantParameter Counters counters) argument 223 isAssignableFrom(@onNullParameter Class<?> thisClassNonNull, Class<?> otherClass, Object trueValue, Object falseValue, @ConstantParameter Counters counters) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.amd64/src/org/graalvm/compiler/lir/amd64/ |
H A D | AMD64ControlFlow.java | 320 @Use({REG, STACK, CONST}) protected Value falseValue; field in class:AMD64ControlFlow.CondMoveOp 323 public CondMoveOp(Variable result, Condition condition, AllocatableValue trueValue, Value falseValue) { argument 328 this.falseValue = falseValue; 333 cmove(crb, masm, result, false, condition, false, trueValue, falseValue); 342 @Alive({REG}) protected Value falseValue; field in class:AMD64ControlFlow.FloatCondMoveOp 346 public FloatCondMoveOp(Variable result, Condition condition, boolean unorderedIsTrue, Variable trueValue, Variable falseValue) { argument 352 this.falseValue = falseValue; 357 cmove(crb, masm, result, true, condition, unorderedIsTrue, trueValue, falseValue); 372 cmove(CompilationResultBuilder crb, AMD64MacroAssembler masm, Value result, boolean isFloat, ConditionFlag condition, boolean unorderedIsTrue, Value trueValue, Value falseValue) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/ |
H A D | IfNode.java | 284 ValueNode falseValue = phi.valueAt(falseEnd); 287 ValueNode result = ConditionalNode.canonicalizeConditional(condition, trueValue, falseValue, phi.stamp()); 556 ValueNode falseValue = phi.valueAt(falseEnd); 557 if (trueValue != falseValue) { 571 ValueNode falseValue = singlePhi.valueAt(falseEnd); 572 ValueNode conditional = canonicalizeConditionalCascade(trueValue, falseValue); 585 ValueNode falseValue = falseEnd.result(); 588 if (trueValue == falseValue) { 591 value = canonicalizeConditionalCascade(trueValue, falseValue); 625 private ValueNode canonicalizeConditionalCascade(ValueNode trueValue, ValueNode falseValue) { argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/ |
H A D | AArch64ControlFlow.java | 136 @Use protected Value falseValue; field in class:AArch64ControlFlow.CondMoveOp 139 public CondMoveOp(Variable result, AArch64Assembler.ConditionFlag condition, Value trueValue, Value falseValue) { argument 141 assert trueValue.getPlatformKind() == falseValue.getPlatformKind() && trueValue.getPlatformKind() == result.getPlatformKind(); 145 this.falseValue = falseValue; 153 masm.cmov(size, asRegister(result), asRegister(trueValue), asRegister(falseValue), condition); 155 masm.fcmov(size, asRegister(result), asRegister(trueValue), asRegister(falseValue), condition);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.aarch64/src/org/graalvm/compiler/core/aarch64/ |
H A D | AArch64LIRGenerator.java | 128 public Variable emitLogicCompareAndSwap(Value address, Value expectedValue, Value newValue, Value trueValue, Value falseValue) { argument 132 assert trueValue.getValueKind().equals(falseValue.getValueKind()); 134 append(new CondMoveOp(result, ConditionFlag.EQ, asAllocatable(trueValue), asAllocatable(falseValue))); 183 * falseValue. 187 * @param cond condition that decides whether to move trueValue or falseValue into result. Non 191 * @param trueValue arbitrary value same type as falseValue. Non null. 192 * @param falseValue arbitrary value same type as trueValue. Non null. 193 * @return value containing trueValue if cond + unorderedIsTrue is true, else falseValue. Non 197 public Variable emitConditionalMove(PlatformKind cmpKind, Value left, Value right, Condition cond, boolean unorderedIsTrue, Value trueValue, Value falseValue) { argument 203 append(new CondMoveOp(result, cmpCondition, loadReg(trueValue), loadReg(falseValue))); 394 emitIntegerTestMove(Value left, Value right, Value trueValue, Value falseValue) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot/src/org/graalvm/compiler/hotspot/meta/ |
H A D | HotSpotProfilingPlugin.java | 100 ValueNode falseValue = builder.append(ConstantNode.forBoolean(negate)); 101 ConditionalNode branchCondition = builder.append(new ConditionalNode(condition, trueValue, falseValue));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.sparc/src/org/graalvm/compiler/lir/sparc/ |
H A D | SPARCControlFlow.java | 665 @Use({REG, CONST}) protected Value falseValue; field in class:SPARCControlFlow.CondMoveOp 671 public CondMoveOp(CMOV cmove, CC cc, ConditionFlag condition, Value trueValue, Value falseValue, Value result) { argument 676 this.falseValue = falseValue; 684 cmove(masm, condition.negate(), falseValue); 685 } else if (result.equals(falseValue)) { 690 Value actualFalseValue = falseValue; 691 if (isJavaConstant(falseValue) && isSimm11(asJavaConstant(falseValue))) { 693 actualTrueValue = falseValue; [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/gen/ |
H A D | LIRGeneratorTool.java | 142 Variable emitLogicCompareAndSwap(Value address, Value expectedValue, Value newValue, Value trueValue, Value falseValue); argument 242 Variable emitConditionalMove(PlatformKind cmpKind, Value leftVal, Value right, Condition cond, boolean unorderedIsTrue, Value trueValue, Value falseValue); argument 244 Variable emitIntegerTestMove(Value leftVal, Value right, Value trueValue, Value falseValue); argument
|
H A D | LIRGenerator.java | 398 public abstract Variable emitConditionalMove(PlatformKind cmpKind, Value leftVal, Value right, Condition cond, boolean unorderedIsTrue, Value trueValue, Value falseValue); argument 401 public abstract Variable emitIntegerTestMove(Value leftVal, Value right, Value trueValue, Value falseValue); argument
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.amd64/src/org/graalvm/compiler/core/amd64/ |
H A D | AMD64LIRGenerator.java | 186 public Variable emitLogicCompareAndSwap(Value address, Value expectedValue, Value newValue, Value trueValue, Value falseValue) { argument 196 assert trueValue.getValueKind().equals(falseValue.getValueKind()); 198 append(new CondMoveOp(result, Condition.EQ, asAllocatable(trueValue), falseValue)); 292 public Variable emitConditionalMove(PlatformKind cmpKind, Value left, Value right, Condition cond, boolean unorderedIsTrue, Value trueValue, Value falseValue) { argument 298 append(new FloatCondMoveOp(result, finalCondition, unorderedIsTrue, load(trueValue), load(falseValue))); 300 append(new CondMoveOp(result, finalCondition, load(trueValue), loadNonConst(falseValue))); 306 public Variable emitIntegerTestMove(Value left, Value right, Value trueValue, Value falseValue) { argument 309 append(new CondMoveOp(result, Condition.EQ, load(trueValue), loadNonConst(falseValue)));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.sparc/src/org/graalvm/compiler/core/sparc/ |
H A D | SPARCLIRGenerator.java | 271 public Variable emitConditionalMove(PlatformKind cmpKind, Value left, Value right, Condition cond, boolean unorderedIsTrue, Value trueValue, Value falseValue) { argument 278 Value actualFalseValue = falseValue; 283 actualFalseValue = load(falseValue); 287 actualFalseValue = loadSimm11(falseValue); 364 public Variable emitIntegerTestMove(Value left, Value right, Value trueValue, Value falseValue) { argument 369 append(new CondMoveOp(MOVicc, cc, flag, loadSimm11(trueValue), loadSimm11(falseValue), result));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core/src/org/graalvm/compiler/core/gen/ |
H A D | NodeLIRBuilder.java | 553 Value fVal = operand(conditional.falseValue()); 557 public Variable emitConditional(LogicNode node, Value trueValue, Value falseValue) { argument 562 return gen.emitConditionalMove(kind.getPlatformKind(), operand(isNullNode.getValue()), nullValue, Condition.EQ, false, trueValue, falseValue); 566 return gen.emitConditionalMove(kind, operand(compare.getX()), operand(compare.getY()), compare.condition(), compare.unorderedIsTrue(), trueValue, falseValue); 568 return gen.emitMove(((LogicConstantNode) node).getValue() ? trueValue : falseValue); 571 return gen.emitIntegerTestMove(operand(test.getX()), operand(test.getY()), trueValue, falseValue);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases.common/src/org/graalvm/compiler/phases/common/ |
H A D | ExpandLogicPhase.java | 173 ValueNode falseTarget = conditional.falseValue();
|
H A D | FixReadsPhase.java | 370 node.replaceAndDelete(isTrue ? node.trueValue() : node.falseValue()); 373 Stamp falseStamp = getBestStamp(node.falseValue());
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.word/src/org/graalvm/compiler/word/ |
H A D | WordOperationPlugin.java | 425 ConstantNode falseValue = graph.add(forInt(0)); 429 trueValue = falseValue; 430 falseValue = temp; 432 ConditionalNode materialize = graph.add(new ConditionalNode(graph.add(comparison), trueValue, falseValue));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.sparc/src/org/graalvm/compiler/hotspot/sparc/ |
H A D | SPARCHotSpotLIRGenerator.java | 237 public Variable emitLogicCompareAndSwap(Value address, Value expectedValue, Value newValue, Value trueValue, Value falseValue) { argument 243 return emitConditionalMove(memKind, expectedValue, result, Condition.EQ, true, trueValue, falseValue);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.asm.aarch64/src/org/graalvm/compiler/asm/aarch64/ |
H A D | AArch64MacroAssembler.java | 492 * @param falseValue general purpose register. May not be null or the stackpointer. 495 public void cmov(int size, Register result, Register trueValue, Register falseValue, ConditionFlag cond) { argument 496 super.csel(size, result, trueValue, falseValue, cond); 1098 * @param falseValue floating point register. May not be null. 1101 public void fcmov(int size, Register result, Register trueValue, Register falseValue, ConditionFlag condition) { argument 1102 super.fcsel(size, result, trueValue, falseValue, condition);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.java/src/org/graalvm/compiler/java/ |
H A D | BytecodeParser.java | 3059 ConstantNode falseValue = graph.unique(ConstantNode.forInt(falseBlockInt)); 3060 ValueNode conditionalNode = ConditionalNode.create(condition, trueValue, falseValue);
|