Search in sources :

Example 6 with LIRInsertionBuffer

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

the class PhiResolver method create.

public static PhiResolver create(LIRGeneratorTool gen) {
    AbstractBlockBase<?> block = gen.getCurrentBlock();
    assert block != null;
    ArrayList<LIRInstruction> instructions = gen.getResult().getLIR().getLIRforBlock(block);
    return new PhiResolver(gen, new LIRInsertionBuffer(), instructions, instructions.size());
}
Also used : LIRInsertionBuffer(org.graalvm.compiler.lir.LIRInsertionBuffer) LIRInstruction(org.graalvm.compiler.lir.LIRInstruction)

Aggregations

LIRInsertionBuffer (org.graalvm.compiler.lir.LIRInsertionBuffer)6 LIRInstruction (org.graalvm.compiler.lir.LIRInstruction)6 AllocatableValue (jdk.vm.ci.meta.AllocatableValue)3 Indent (org.graalvm.compiler.debug.Indent)3 Register (jdk.vm.ci.code.Register)2 DebugContext (org.graalvm.compiler.debug.DebugContext)2 LoadConstantOp (org.graalvm.compiler.lir.StandardOp.LoadConstantOp)2 MoveOp (org.graalvm.compiler.lir.StandardOp.MoveOp)2 ValueMoveOp (org.graalvm.compiler.lir.StandardOp.ValueMoveOp)2 Variable (org.graalvm.compiler.lir.Variable)2 RegisterValue (jdk.vm.ci.code.RegisterValue)1 PlatformKind (jdk.vm.ci.meta.PlatformKind)1 LIRKind (org.graalvm.compiler.core.common.LIRKind)1 StandardOp (org.graalvm.compiler.lir.StandardOp)1 RegisterMap (org.graalvm.compiler.lir.util.RegisterMap)1