/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Updates an SSA representation, placing phi functions and renaming all * registers above a certain threshold number. * * @param ssaMeth input * @param threshold registers below this number are unchanged */ public static void updateSsaMethod(SsaMethod ssaMeth, int threshold) { LocalVariableInfo localInfo = LocalVariableExtractor.extract(ssaMeth); placePhiFunctions(ssaMeth, localInfo, threshold); new SsaRenamer(ssaMeth, threshold).run(); }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }
/** {@inheritDoc} */ @Override public final void mapSourceRegisters(RegisterMapper mapper) { for (Operand o : operands) { RegisterSpec old = o.regSpec; o.regSpec = mapper.map(old); if (old != o.regSpec) { getBlock().getParent().onSourceChanged(this, old, o.regSpec); } } sources = null; }
/** * Map registers after register allocation. * * @param mapper {@code non-null;} mapping from old to new registers */ public final void mapRegisters(RegisterMapper mapper) { RegisterSpec oldResult = result; result = mapper.map(result); block.getParent().updateOneDefinition(this, oldResult); mapSourceRegisters(mapper); }