## Uses of Class
org.apache.sysds.parser.VariableSet

Packages that use VariableSet
org.apache.sysds.parser

### Uses of VariableSet in org.apache.sysds.parser

Methods in org.apache.sysds.parser that return VariableSet
`VariableSet` IfStatementBlock.`analyze(VariableSet loPassed)`
`abstract VariableSet` LiveVariableAnalysis.`analyze(VariableSet loPassed)`
`VariableSet` WhileStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` ForStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` FunctionStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` StatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` FunctionStatementBlock.`analyze(VariableSet liPassed, VariableSet loPassed)`
`VariableSet` LiveVariableAnalysis.`getGen()`
`VariableSet` LiveVariableAnalysis.`getKill()`
`VariableSet` LiveVariableAnalysis.`getWarn()`
`VariableSet` ForStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` AssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` IfStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` ImportStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet` LiveVariableAnalysis.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` WhileStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` ForStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` OutputStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` PrintStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` IfStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` FunctionStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` FunctionStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` MultiAssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` StatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` WhileStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` PathStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet` Statement.`initializebackwardLV(VariableSet lo)`
`VariableSet` IfStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`abstract VariableSet` LiveVariableAnalysis.`initializeforwardLV(VariableSet activeIn)`
`VariableSet` WhileStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`VariableSet` ForStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`VariableSet` FunctionStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`

`VariableSet`

StatementBlock.`initializeforwardLV(VariableSet activeIn)`
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.

`VariableSet` LiveVariableAnalysis.`liveIn()`
`VariableSet` LiveVariableAnalysis.`liveOut()`
`static VariableSet` VariableSet.`minus(VariableSet vs1, VariableSet vs2)`
`static VariableSet` VariableSet.`union(VariableSet vs1, VariableSet vs2)`
`VariableSet` IfStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` WhileStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` ParForStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` ForStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` FunctionStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)` TODO: DRB: This needs to be changed to reflect: 1) Default values for variables -- need to add R styled check here to make sure that once vars with default values start, they keep going to the right 2) The other parameters for External Functions
`VariableSet` StatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` ForStatement.`variablesRead()`
`VariableSet` AssignmentStatement.`variablesRead()`
`VariableSet` DataIdentifier.`variablesRead()`
`VariableSet` IntIdentifier.`variablesRead()`
`VariableSet` ImportStatement.`variablesRead()`
`VariableSet` LiveVariableAnalysis.`variablesRead()`
`VariableSet` IterablePredicate.`variablesRead()`
`VariableSet` ParameterizedBuiltinFunctionExpression.`variablesRead()`
`VariableSet` OutputStatement.`variablesRead()`
`VariableSet` BinaryExpression.`variablesRead()`
`VariableSet` ExpressionList.`variablesRead()`
`VariableSet` PrintStatement.`variablesRead()`
`abstract VariableSet` Expression.`variablesRead()`
`VariableSet` IfStatement.`variablesRead()`
`VariableSet` FunctionStatement.`variablesRead()`
`VariableSet` MultiAssignmentStatement.`variablesRead()`
`VariableSet` FunctionCallIdentifier.`variablesRead()`
`VariableSet` WhileStatement.`variablesRead()`
`VariableSet` BooleanExpression.`variablesRead()`
`VariableSet` DataExpression.`variablesRead()`
`VariableSet` BooleanIdentifier.`variablesRead()`
`VariableSet` PathStatement.`variablesRead()`
`VariableSet` IndexedIdentifier.`variablesRead()`
`VariableSet` StringIdentifier.`variablesRead()`
`VariableSet` BuiltinFunctionExpression.`variablesRead()`
`abstract VariableSet` Statement.`variablesRead()`
`VariableSet` ConditionalPredicate.`variablesRead()`
`VariableSet` RelationalExpression.`variablesRead()`
`VariableSet` DoubleIdentifier.`variablesRead()`
`VariableSet` ForStatement.`variablesUpdated()`
`VariableSet` AssignmentStatement.`variablesUpdated()`
`VariableSet` DataIdentifier.`variablesUpdated()`
`VariableSet` IntIdentifier.`variablesUpdated()`
`VariableSet` ImportStatement.`variablesUpdated()`
`VariableSet` LiveVariableAnalysis.`variablesUpdated()`
`VariableSet` IterablePredicate.`variablesUpdated()`
`VariableSet` ParameterizedBuiltinFunctionExpression.`variablesUpdated()`
`VariableSet` OutputStatement.`variablesUpdated()`
`VariableSet` BinaryExpression.`variablesUpdated()`
`VariableSet` ExpressionList.`variablesUpdated()`
`VariableSet` PrintStatement.`variablesUpdated()`
`abstract VariableSet` Expression.`variablesUpdated()`
`VariableSet` IfStatement.`variablesUpdated()`
`VariableSet` FunctionStatement.`variablesUpdated()`
`VariableSet` MultiAssignmentStatement.`variablesUpdated()`
`VariableSet` FunctionCallIdentifier.`variablesUpdated()`
`VariableSet` WhileStatement.`variablesUpdated()`
`VariableSet` BooleanExpression.`variablesUpdated()`
`VariableSet` DataExpression.`variablesUpdated()`
`VariableSet` BooleanIdentifier.`variablesUpdated()`
`VariableSet` PathStatement.`variablesUpdated()`
`VariableSet` StringIdentifier.`variablesUpdated()`
`VariableSet` BuiltinFunctionExpression.`variablesUpdated()`
`abstract VariableSet` Statement.`variablesUpdated()`
`VariableSet` ConditionalPredicate.`variablesUpdated()`
`VariableSet` RelationalExpression.`variablesUpdated()`
`VariableSet` DoubleIdentifier.`variablesUpdated()`

Methods in org.apache.sysds.parser with parameters of type VariableSet
`void` VariableSet.`addVariables(VariableSet vs)`
`VariableSet` IfStatementBlock.`analyze(VariableSet loPassed)`
`abstract VariableSet` LiveVariableAnalysis.`analyze(VariableSet loPassed)`
`VariableSet` WhileStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` ForStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` FunctionStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` StatementBlock.`analyze(VariableSet loPassed)`
`VariableSet` FunctionStatementBlock.`analyze(VariableSet liPassed, VariableSet loPassed)`
`void` DMLTranslator.`cleanupLiveOutVariables(List<StatementBlock> sbs, VariableSet unionLiveIn)`
`VariableSet` ForStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` AssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` IfStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` ImportStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet` LiveVariableAnalysis.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` WhileStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` ForStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` OutputStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` PrintStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` IfStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` FunctionStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` FunctionStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` MultiAssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` StatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet` WhileStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet` PathStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet` Statement.`initializebackwardLV(VariableSet lo)`
`void` ForStatement.`initializeforwardLV(VariableSet activeIn)`
`void` AssignmentStatement.`initializeforwardLV(VariableSet activeIn)`
`VariableSet` IfStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`void` ImportStatement.`initializeforwardLV(VariableSet activeIn)`
`abstract VariableSet` LiveVariableAnalysis.`initializeforwardLV(VariableSet activeIn)`
`VariableSet` WhileStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`VariableSet` ForStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`void` OutputStatement.`initializeforwardLV(VariableSet activeIn)`
`void` PrintStatement.`initializeforwardLV(VariableSet activeIn)`
`void` IfStatement.`initializeforwardLV(VariableSet activeIn)`
`void` FunctionStatement.`initializeforwardLV(VariableSet activeIn)`
`VariableSet` FunctionStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`void` MultiAssignmentStatement.`initializeforwardLV(VariableSet activeIn)`

`VariableSet`

StatementBlock.`initializeforwardLV(VariableSet activeIn)`
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.

`void` WhileStatement.`initializeforwardLV(VariableSet activeIn)`
`void` PathStatement.`initializeforwardLV(VariableSet activeIn)`
`abstract void` Statement.`initializeforwardLV(VariableSet activeIn)`
`static VariableSet` VariableSet.`minus(VariableSet vs1, VariableSet vs2)`
`void` VariableSet.`removeVariables(VariableSet vs)`
`void` LiveVariableAnalysis.`setGen(VariableSet ge)`
`void` LiveVariableAnalysis.`setKill(VariableSet ki)`
`void` LiveVariableAnalysis.`setLiveIn(VariableSet li)`
`void` LiveVariableAnalysis.`setLiveOut(VariableSet lo)`
`void` LiveVariableAnalysis.`setReadVariables(VariableSet vars)`
`void` LiveVariableAnalysis.`setUpdatedVariables(VariableSet vars)`
`static VariableSet` VariableSet.`union(VariableSet vs1, VariableSet vs2)`
`void` LiveVariableAnalysis.`updateLiveVariablesOut(VariableSet liveOut)`
`VariableSet` IfStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` WhileStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` ParForStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` ForStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet` FunctionStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)` TODO: DRB: This needs to be changed to reflect: 1) Default values for variables -- need to add R styled check here to make sure that once vars with default values start, they keep going to the right 2) The other parameters for External Functions
`VariableSet` StatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`

Constructors in org.apache.sysds.parser with parameters of type VariableSet
Constructor and Description
`VariableSet(VariableSet vs)`