Search in sources :

Example 6 with FrameMap

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

the class Instance method run.

public void run(LIRGenerationResult lirGenRes) {
    LIR ir = lirGenRes.getLIR();
    DebugContext debug = ir.getDebug();
    FrameMap frameMap = lirGenRes.getFrameMap();
    for (AbstractBlockBase<?> block : ir.linearScanOrder()) {
        for (LIRInstruction op : ir.getLIRforBlock(block)) {
            op.forEachState((instruction, state) -> doState(debug, frameMap, instruction, state));
        }
    }
}
Also used : FrameMap(org.graalvm.compiler.lir.framemap.FrameMap) LIR(org.graalvm.compiler.lir.LIR) LIRInstruction(org.graalvm.compiler.lir.LIRInstruction) DebugContext(org.graalvm.compiler.debug.DebugContext)

Aggregations

FrameMap (org.graalvm.compiler.lir.framemap.FrameMap)6 RegisterConfig (jdk.vm.ci.code.RegisterConfig)4 Label (org.graalvm.compiler.asm.Label)3 Register (jdk.vm.ci.code.Register)2 DebugContext (org.graalvm.compiler.debug.DebugContext)2 CallingConvention (jdk.vm.ci.code.CallingConvention)1 RegisterSaveLayout (jdk.vm.ci.code.RegisterSaveLayout)1 ValueUtil.asRegister (jdk.vm.ci.code.ValueUtil.asRegister)1 ValueUtil.isRegister (jdk.vm.ci.code.ValueUtil.isRegister)1 ConstantReference (jdk.vm.ci.code.site.ConstantReference)1 DataPatch (jdk.vm.ci.code.site.DataPatch)1 AArch64HotSpotRegisterConfig (jdk.vm.ci.hotspot.aarch64.AArch64HotSpotRegisterConfig)1 JavaConstant (jdk.vm.ci.meta.JavaConstant)1 JavaKind (jdk.vm.ci.meta.JavaKind)1 VMConstant (jdk.vm.ci.meta.VMConstant)1 AArch64MacroAssembler (org.graalvm.compiler.asm.aarch64.AArch64MacroAssembler)1 AMD64Address (org.graalvm.compiler.asm.amd64.AMD64Address)1 AMD64MacroAssembler (org.graalvm.compiler.asm.amd64.AMD64MacroAssembler)1 SPARCAddress (org.graalvm.compiler.asm.sparc.SPARCAddress)1 SPARCAssembler.isGlobalRegister (org.graalvm.compiler.asm.sparc.SPARCAssembler.isGlobalRegister)1