Class PhiInserter


  • public class PhiInserter
    extends Object
    Phi insertion at dominance frontiers via the Cytron algorithm, yielding minimal SSA form.
    • Constructor Detail

      • PhiInserter

        public PhiInserter​(DominatorTree dominatorTree)
        Creates an inserter.
        Parameters:
        dominatorTree - the computed dominator tree of the method
    • Method Detail

      • insertPhis

        public void insertPhis​(IRMethod method)
        Inserts phi functions for every local defined in the method.
        Parameters:
        method - the method to transform