Search in sources :

Example 1 with LoadOp

use of org.graalvm.compiler.lir.aarch64.AArch64Move.LoadOp in project graal by oracle.

the class AArch64ArithmeticLIRGenerator method emitLoad.

@Override
public Variable emitLoad(LIRKind kind, Value address, LIRFrameState state) {
    AArch64AddressValue loadAddress = getLIRGen().asAddressValue(address);
    Variable result = getLIRGen().newVariable(getLIRGen().toRegisterKind(kind));
    getLIRGen().append(new LoadOp((AArch64Kind) kind.getPlatformKind(), result, loadAddress, state));
    return result;
}
Also used : Variable(org.graalvm.compiler.lir.Variable) AArch64AddressValue(org.graalvm.compiler.lir.aarch64.AArch64AddressValue) AArch64Kind(jdk.vm.ci.aarch64.AArch64Kind) LoadOp(org.graalvm.compiler.lir.aarch64.AArch64Move.LoadOp)

Aggregations

AArch64Kind (jdk.vm.ci.aarch64.AArch64Kind)1 Variable (org.graalvm.compiler.lir.Variable)1 AArch64AddressValue (org.graalvm.compiler.lir.aarch64.AArch64AddressValue)1 LoadOp (org.graalvm.compiler.lir.aarch64.AArch64Move.LoadOp)1