/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/alloc/trace/ |
H A D | TrivialTraceAllocator.java | 62 GlobalLivenessInfo livenessInfo = context.livenessInfo; 63 collectMapping(block, pred, livenessInfo, variableMap); 64 assignLocations(lir, block, livenessInfo, variableMap); 71 private static void collectMapping(AbstractBlockBase<?> block, AbstractBlockBase<?> pred, GlobalLivenessInfo livenessInfo, Value[] variableMap) { argument 72 final int[] blockIn = livenessInfo.getBlockIn(block); 73 final Value[] predLocOut = livenessInfo.getOutLocation(pred); 85 livenessInfo.setInLocations(block, locationIn); 91 private static void assignLocations(LIR lir, AbstractBlockBase<?> block, GlobalLivenessInfo livenessInfo, Value[] variableMap) { argument 92 final int[] blockOut = livenessInfo [all...] |
H A D | TraceRegisterAllocationPolicy.java | 50 allocator = initAllocator(target, lirGenRes, spillMoveFactory, registerAllocationConfig, cachedStackSlots, resultTraces, neverSpillConstants, livenessInfo, strategies); 68 return livenessInfo; 90 GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies); 100 private final GlobalLivenessInfo livenessInfo; field in class:TraceRegisterAllocationPolicy 105 AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo) { 113 this.livenessInfo = livenessInfo; 88 initAllocator(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) argument 104 TraceRegisterAllocationPolicy(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo) argument
|
H A D | TraceRegisterAllocationPhase.java | 78 GlobalLivenessInfo livenessInfo = context.contextLookup(GlobalLivenessInfo.class); 79 assert livenessInfo != null; 80 TraceAllocationContext traceContext = new TraceAllocationContext(spillMoveFactory, registerAllocationConfig, resultTraces, livenessInfo); 87 neverSpillConstant, livenessInfo, lir.getOptions()); 89 try (DebugContext.Scope s0 = debug.scope("AllocateTraces", resultTraces, livenessInfo)) {
|
H A D | TraceAllocationPhase.java | 46 public final GlobalLivenessInfo livenessInfo; field in class:TraceAllocationPhase.TraceAllocationContext 48 public TraceAllocationContext(MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, TraceBuilderResult resultTraces, GlobalLivenessInfo livenessInfo) { argument 52 this.livenessInfo = livenessInfo;
|
H A D | DefaultTraceRegisterAllocationPolicy.java | 101 GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) { 133 GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) { 134 return new BottomUpAllocator(target, lirGenRes, spillMoveFactory, registerAllocationConfig, cachedStackSlots, resultTraces, neverSpillConstant, livenessInfo); 184 GlobalLivenessInfo livenessInfo = getGlobalLivenessInfo(); 185 int maxNumVars = livenessInfo.getBlockIn(trace.getBlocks()[0]).length; 187 maxNumVars = Math.max(maxNumVars, livenessInfo.getBlockOut(block).length); 363 GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) { 364 return new TraceLinearScanPhase(target, lirGenRes, spillMoveFactory, registerAllocationConfig, resultTraces, neverSpillConstant, cachedStackSlots, livenessInfo); 371 GlobalLivenessInfo livenessInfo, OptionValues options) { 373 livenessInfo); 99 initAllocator(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) argument 131 initAllocator(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) argument 361 initAllocator(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo, ArrayList<AllocationStrategy> strategies) argument 369 allocationPolicy(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo, OptionValues options) argument [all...] |
H A D | TraceGlobalMoveResolutionPhase.java | 74 resolveGlobalDataFlow(context.resultTraces, lirGenRes, spillMoveFactory, target.arch, context.livenessInfo, context.registerAllocationConfig); 78 private static void resolveGlobalDataFlow(TraceBuilderResult resultTraces, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, Architecture arch, GlobalLivenessInfo livenessInfo, argument 105 resolveEdge(lir, livenessInfo, moveResolver, fromBlock, toBlock); 115 private static void resolveEdge(LIR lir, GlobalLivenessInfo livenessInfo, TraceGlobalMoveResolver moveResolver, AbstractBlockBase<?> fromBlock, AbstractBlockBase<?> toBlock) { argument 130 Value[] locFrom = livenessInfo.getOutLocation(fromBlock); 131 Value[] locTo = livenessInfo.getInLocation(toBlock);
|
H A D | GlobalLivenessAnalysisPhase.java | 61 GlobalLivenessInfo livenessInfo = ssiBuilder.getLivenessInfo(); 62 assert livenessInfo.verify(lirGenRes.getLIR()); 63 context.contextAdd(livenessInfo);
|
H A D | GlobalLivenessInfo.java | 61 GlobalLivenessInfo livenessInfo = info; 63 return livenessInfo;
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.microbenchmarks/src/org/graalvm/compiler/microbenchmarks/lir/trace/ |
H A D | TraceLSRAIntervalBuildingBench.java | 67 GlobalLivenessInfo livenessInfo = context.contextLookup(GlobalLivenessInfo.class); 68 assert livenessInfo != null; 69 TraceLinearScanPhase phase = new TraceLinearScanPhase(target, lirGenRes, spillMoveFactory, registerAllocationConfig, resultTraces, false, null, livenessInfo);
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/alloc/trace/bu/ |
H A D | BottomUpAllocator.java | 117 private final GlobalLivenessInfo livenessInfo; field in class:BottomUpAllocator 120 AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo) { 132 this.livenessInfo = livenessInfo; 474 Value[] out = livenessInfo.getOutLocation(from); 475 Value[] in = livenessInfo.getInLocation(to); 568 int[] vars = livenessInfo.getBlockIn(block); 573 locs[i] = allocStackOrRegister(instruction, livenessInfo.getVariable(varNum), OperandMode.DEF, LabelOp.incomingFlags); 576 livenessInfo.setInLocations(block, locs); 580 int[] vars = livenessInfo 119 BottomUpAllocator(TargetDescription target, LIRGenerationResult lirGenRes, MoveFactory spillMoveFactory, RegisterAllocationConfig registerAllocationConfig, AllocatableValue[] cachedStackSlots, TraceBuilderResult resultTraces, boolean neverSpillConstant, GlobalLivenessInfo livenessInfo) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/alloc/trace/lsra/ |
H A D | TraceLinearScanLifetimeAnalysisPhase.java | 572 GlobalLivenessInfo livenessInfo = allocator.getGlobalLivenessInfo(); 573 for (int varNum : livenessInfo.getBlockIn(block)) { 575 addVariableDef(livenessInfo.getVariable(varNum), op, RegisterPriority.None); 608 GlobalLivenessInfo livenessInfo = allocator.getGlobalLivenessInfo(); 609 for (int varNum : livenessInfo.getBlockOut(block)) { 611 addVariableUse(livenessInfo.getVariable(varNum), 0, aliveOpId, RegisterPriority.None); 627 GlobalLivenessInfo livenessInfo = allocator.getGlobalLivenessInfo(); 632 addInterTraceHints(livenessInfo, pred, block, label); 640 private void addInterTraceHints(GlobalLivenessInfo livenessInfo, AbstractBlockBase<?> from, AbstractBlockBase<?> to, LabelOp label) { argument 642 int[] liveVars = livenessInfo [all...] |
H A D | TraceLinearScanResolveDataFlowPhase.java | 167 GlobalLivenessInfo livenessInfo = allocator.getGlobalLivenessInfo(); 168 int[] locTo = livenessInfo.getBlockIn(toBlock);
|
H A D | TraceLinearScanPhase.java | 120 private final GlobalLivenessInfo livenessInfo; field in class:TraceLinearScanPhase 123 boolean neverSpillConstants, AllocatableValue[] cachedStackSlots, GlobalLivenessInfo livenessInfo) { 134 this.livenessInfo = livenessInfo; 135 assert livenessInfo != null; 248 return livenessInfo; 122 TraceLinearScanPhase(TargetDescription target, LIRGenerationResult res, MoveFactory spillMoveFactory, RegisterAllocationConfig regAllocConfig, TraceBuilderResult traceBuilderResult, boolean neverSpillConstants, AllocatableValue[] cachedStackSlots, GlobalLivenessInfo livenessInfo) argument
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.printer/src/org/graalvm/compiler/printer/ |
H A D | CFGPrinter.java | 88 protected GlobalLivenessInfo livenessInfo; field in class:CFGPrinter 488 if (livenessInfo != null) { 490 printLiveVars(livenessInfo.getBlockIn(block), "in(var)", opId); 491 printLiveLoc(livenessInfo.getInLocation(block), "in(loc)", opId); 497 if (livenessInfo != null) { 499 printLiveVars(livenessInfo.getBlockOut(block), "out(var)", opId); 500 printLiveLoc(livenessInfo.getOutLocation(block), "out(loc)", opId); 513 Value value = varNum >= 0 ? livenessInfo.getVariable(varNum) : Value.ILLEGAL;
|
H A D | CFGPrinterObserver.java | 179 cfgPrinter.livenessInfo = debug.contextLookup(GlobalLivenessInfo.class); 248 cfgPrinter.livenessInfo = null;
|