Search in sources :

Example 1 with AMD64ByteSwapOp

use of org.graalvm.compiler.lir.amd64.AMD64ByteSwapOp in project graal by oracle.

the class AMD64LIRGenerator method emitByteSwap.

@Override
public Variable emitByteSwap(Value input) {
    Variable result = newVariable(LIRKind.combine(input));
    append(new AMD64ByteSwapOp(result, input));
    return result;
}
Also used : Variable(org.graalvm.compiler.lir.Variable) AMD64ByteSwapOp(org.graalvm.compiler.lir.amd64.AMD64ByteSwapOp)

Aggregations

Variable (org.graalvm.compiler.lir.Variable)1 AMD64ByteSwapOp (org.graalvm.compiler.lir.amd64.AMD64ByteSwapOp)1