public PowerReductionTranslator(ReachingDef<MilocInstruction> defs) : base(false) { this.defs = defs; }
public static ProgramBlock<MilocInstruction> DoOpt(ProgramBlock<MilocInstruction> prog) { var defs = new ReachingDef<MilocInstruction>(prog); var conv = prog.Convert(new MilocConverter<MilocInstruction>(new PowerReductionTranslator(defs))); return (ProgramBlock<MilocInstruction>)conv; }