Class DMLTranslator


  • public class DMLTranslator
    extends Object
    • Constructor Detail

      • DMLTranslator

        public DMLTranslator​(DMLProgram dmlp)
    • Method Detail

      • validateParseTree

        public void validateParseTree​(DMLProgram dmlp)
      • validateParseTree

        public void validateParseTree​(DMLProgram dmlp,
                                      boolean inclFuns)
      • liveVariableAnalysis

        public void liveVariableAnalysis​(DMLProgram dmlp)
      • liveVariableAnalysis

        public void liveVariableAnalysis​(DMLProgram dmlp,
                                         boolean inclFuns)
      • constructHops

        public void constructHops​(DMLProgram dmlp)
      • constructHops

        public void constructHops​(DMLProgram dmlp,
                                  boolean inclFuns)
      • rewriteHopsDAG

        public void rewriteHopsDAG​(DMLProgram dmlp)
      • codgenHopsDAG

        public void codgenHopsDAG​(DMLProgram dmlp)
      • codgenHopsDAG

        public void codgenHopsDAG​(Program rtprog)
      • codgenHopsDAG

        public void codgenHopsDAG​(ProgramBlock pb)
      • constructLops

        public void constructLops​(DMLProgram dmlp)
      • refreshMemEstimates

        public static void refreshMemEstimates​(DMLProgram dmlp)
      • refreshMemEstimates

        public static void refreshMemEstimates​(StatementBlock current)
      • resetHopsDAGVisitStatus

        public static void resetHopsDAGVisitStatus​(DMLProgram dmlp)
      • resetHopsDAGVisitStatus

        public static void resetHopsDAGVisitStatus​(StatementBlock current)
      • resetLopsDAGVisitStatus

        public void resetLopsDAGVisitStatus​(DMLProgram dmlp)
      • resetLopsDAGVisitStatus

        public void resetLopsDAGVisitStatus​(StatementBlock current)
      • constructHopsForIfControlBlock

        public void constructHopsForIfControlBlock​(IfStatementBlock sb)
      • constructHopsForForControlBlock

        public void constructHopsForForControlBlock​(ForStatementBlock sb)
        Constructs Hops for a given ForStatementBlock or ParForStatementBlock, respectively.
        Parameters:
        sb - for statement block
      • constructHopsForFunctionControlBlock

        public void constructHopsForFunctionControlBlock​(FunctionStatementBlock fsb)
      • constructHopsForWhileControlBlock

        public void constructHopsForWhileControlBlock​(WhileStatementBlock sb)
      • constructHopsForConditionalPredicate

        public void constructHopsForConditionalPredicate​(StatementBlock passedSB)
      • constructHopsForIterablePredicate

        public void constructHopsForIterablePredicate​(ForStatementBlock fsb)
        Constructs all predicate Hops (for FROM, TO, INCREMENT) of an iterable predicate and assigns these Hops to the passed statement block. Method used for both ForStatementBlock and ParForStatementBlock.
        Parameters:
        fsb - for statement block
      • setIdentifierParams

        public void setIdentifierParams​(Hop h,
                                        Identifier id)