/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
private static void runSsaFormSteps(SsaMethod ssaMeth, EnumSet<OptionalStep> steps) { boolean needsDeadCodeRemover = true; if (steps.contains(OptionalStep.MOVE_PARAM_COMBINER)) { MoveParamCombiner.process(ssaMeth); } if (steps.contains(OptionalStep.SCCP)) { SCCP.process(ssaMeth); } if (steps.contains(OptionalStep.LITERAL_UPGRADE)) { LiteralOpUpgrader.process(ssaMeth); DeadCodeRemover.process(ssaMeth); needsDeadCodeRemover = false; } if (steps.contains(OptionalStep.CONST_COLLECTOR)) { ConstCollector.process(ssaMeth); DeadCodeRemover.process(ssaMeth); needsDeadCodeRemover = false; } // dead code remover must be run before phi type resolver if (needsDeadCodeRemover) { DeadCodeRemover.process(ssaMeth); } PhiTypeResolver.process(ssaMeth); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }
MoveParamCombiner.process(ssaMeth);
/** * Processes a method with this optimization step. * * @param ssaMethod method to process */ public static void process(SsaMethod ssaMethod) { new MoveParamCombiner(ssaMethod).run(); }