use of org.graalvm.compiler.lir.sparc.SPARCControlFlow.BranchOp in project graal by oracle.
the class SPARCLIRGenerator method emitOverflowCheckBranch.
@Override
public void emitOverflowCheckBranch(LabelRef overflow, LabelRef noOverflow, LIRKind cmpLIRKind, double overflowProbability) {
SPARCKind cmpKind = (SPARCKind) cmpLIRKind.getPlatformKind();
append(new BranchOp(ConditionFlag.OverflowSet, overflow, noOverflow, cmpKind, overflowProbability));
}
use of org.graalvm.compiler.lir.sparc.SPARCControlFlow.BranchOp in project graal by oracle.
the class SPARCLIRGenerator method emitIntegerTestBranch.
@Override
public void emitIntegerTestBranch(Value left, Value right, LabelRef trueDestination, LabelRef falseDestination, double trueDestinationProbability) {
emitIntegerTest(left, right);
append(new BranchOp(ConditionFlag.Equal, trueDestination, falseDestination, (SPARCKind) left.getPlatformKind(), trueDestinationProbability));
}