use of org.graalvm.compiler.lir.sparc.SPARCMove.LoadOp in project graal by oracle.
the class SPARCLIRGenerator method emitZeroExtendLoad.
public Value emitZeroExtendLoad(LIRKind kind, LIRKind resultKind, Value address, LIRFrameState state) {
SPARCAddressValue loadAddress = asAddressValue(address);
Variable result = newVariable(resultKind);
append(new LoadOp(kind.getPlatformKind(), result, loadAddress, state));
return result;
}
use of org.graalvm.compiler.lir.sparc.SPARCMove.LoadOp in project graal by oracle.
the class SPARCArithmeticLIRGenerator method emitLoad.
@Override
public Variable emitLoad(LIRKind kind, Value address, LIRFrameState state) {
SPARCAddressValue loadAddress = getLIRGen().asAddressValue(address);
Variable result = getLIRGen().newVariable(getLIRGen().toRegisterKind(kind));
getLIRGen().append(new LoadOp(kind.getPlatformKind(), result, loadAddress, state));
return result;
}
use of org.graalvm.compiler.lir.sparc.SPARCMove.LoadOp in project graal by oracle.
the class SPARCLIRGenerator method emitSignExtendLoad.
public Value emitSignExtendLoad(LIRKind kind, LIRKind resultKind, Value address, LIRFrameState state) {
SPARCAddressValue loadAddress = asAddressValue(address);
Variable result = newVariable(resultKind);
append(new LoadOp(kind.getPlatformKind(), result, loadAddress, state, true));
return result;
}
Aggregations