Class ForStatementBlock

    • Constructor Detail

      • ForStatementBlock

        public ForStatementBlock()
    • Method Detail

      • initializeforwardLV

        public VariableSet initializeforwardLV​(VariableSet activeInPassed)
        Description copied from class: StatementBlock
        For each statement: gen rule: for each variable read in current statement but not updated in any PRIOR statement, add to gen Handles case where variable both read and updated in same statement (i = i + 1, i needs to be added to gen) kill rule: for each variable updated in current statement but not read in this or any PRIOR statement, add to kill.
        Overrides:
        initializeforwardLV in class StatementBlock
      • setFromHops

        public void setFromHops​(Hop hops)
      • setToHops

        public void setToHops​(Hop hops)
      • setIncrementHops

        public void setIncrementHops​(Hop hops)
      • getFromHops

        public Hop getFromHops()
      • getToHops

        public Hop getToHops()
      • getIncrementHops

        public Hop getIncrementHops()
      • setFromLops

        public void setFromLops​(Lop lops)
      • setToLops

        public void setToLops​(Lop lops)
      • setIncrementLops

        public void setIncrementLops​(Lop lops)
      • getFromLops

        public Lop getFromLops()
      • getToLops

        public Lop getToLops()
      • getIncrementLops

        public Lop getIncrementLops()
      • updatePredicateRecompilationFlags

        public boolean updatePredicateRecompilationFlags()
      • requiresPredicateRecompilation

        public boolean requiresPredicateRecompilation()
      • requiresFromRecompilation

        public boolean requiresFromRecompilation()
      • requiresToRecompilation

        public boolean requiresToRecompilation()
      • requiresIncrementRecompilation

        public boolean requiresIncrementRecompilation()
      • getEstimateReps

        public int getEstimateReps()
      • updateRepetitionEstimates

        public void updateRepetitionEstimates​(double repetitions)
        Description copied from class: StatementBlock
        Updates the repetition estimate for this statement block and all contained hops. FunctionStatementBlocks are loaded from the function dictionary and repetitions are estimated for the contained statement blocks. This method is overridden in the subclasses of StatementBlock.
        Overrides:
        updateRepetitionEstimates in class StatementBlock
        Parameters:
        repetitions - estimated for this statement block