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

Packages that use VariableSet
Package
Description
org.apache.sysds.parser

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

Methods in org.apache.sysds.parser that return VariableSet
Modifier and Type
Method
Description
`VariableSet`
ForStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
FunctionStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
FunctionStatementBlock.`analyze(VariableSet liPassed, VariableSet loPassed)`
`VariableSet`
IfStatementBlock.`analyze(VariableSet loPassed)`
`abstract VariableSet`
LiveVariableAnalysis.`analyze(VariableSet loPassed)`
`VariableSet`
StatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
WhileStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
LiveVariableAnalysis.`getGen()`
`VariableSet`
LiveVariableAnalysis.`getKill()`
`VariableSet`
LiveVariableAnalysis.`getWarn()`
`VariableSet`
AssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
ForStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
ForStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
FunctionStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
FunctionStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
IfStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
IfStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
ImportStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet`
LiveVariableAnalysis.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
MultiAssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
OutputStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
PathStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
PrintStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet`
Statement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
StatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
WhileStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
WhileStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
ForStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`VariableSet`
FunctionStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`VariableSet`
IfStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`abstract VariableSet`
LiveVariableAnalysis.`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.
`VariableSet`
WhileStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`VariableSet`
LiveVariableAnalysis.`liveIn()`
`VariableSet`
LiveVariableAnalysis.`liveOut()`
`static VariableSet`
VariableSet.`minus(VariableSet vs1, VariableSet vs2)`
`static VariableSet`
VariableSet.`union(VariableSet vs1, VariableSet vs2)`
`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`
IfStatementBlock.`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`
StatementBlock.`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`
AssignmentStatement.`variablesRead()`
`VariableSet`
BinaryExpression.`variablesRead()`
`VariableSet`
BooleanExpression.`variablesRead()`
`VariableSet`
BooleanIdentifier.`variablesRead()`
`VariableSet`
BuiltinFunctionExpression.`variablesRead()`
`VariableSet`
ConditionalPredicate.`variablesRead()`
`VariableSet`
DataExpression.`variablesRead()`
`VariableSet`
DataIdentifier.`variablesRead()`
`VariableSet`
DoubleIdentifier.`variablesRead()`
`abstract VariableSet`
Expression.`variablesRead()`
`VariableSet`
ExpressionList.`variablesRead()`
`VariableSet`
ForStatement.`variablesRead()`
`VariableSet`
FunctionCallIdentifier.`variablesRead()`
`VariableSet`
FunctionStatement.`variablesRead()`
`VariableSet`
IfStatement.`variablesRead()`
`VariableSet`
ImportStatement.`variablesRead()`
`VariableSet`
IndexedIdentifier.`variablesRead()`
`VariableSet`
IntIdentifier.`variablesRead()`
`VariableSet`
IterablePredicate.`variablesRead()`
`VariableSet`
ListIdentifier.`variablesRead()`
`VariableSet`
LiveVariableAnalysis.`variablesRead()`
`VariableSet`
MultiAssignmentStatement.`variablesRead()`
`VariableSet`
OutputStatement.`variablesRead()`
`VariableSet`
ParameterizedBuiltinFunctionExpression.`variablesRead()`
`VariableSet`
PathStatement.`variablesRead()`
`VariableSet`
PrintStatement.`variablesRead()`
`VariableSet`
RelationalExpression.`variablesRead()`
`abstract VariableSet`
Statement.`variablesRead()`
`VariableSet`
StringIdentifier.`variablesRead()`
`VariableSet`
WhileStatement.`variablesRead()`
`VariableSet`
AssignmentStatement.`variablesUpdated()`
`VariableSet`
BinaryExpression.`variablesUpdated()`
`VariableSet`
BooleanExpression.`variablesUpdated()`
`VariableSet`
BooleanIdentifier.`variablesUpdated()`
`VariableSet`
BuiltinFunctionExpression.`variablesUpdated()`
`VariableSet`
ConditionalPredicate.`variablesUpdated()`
`VariableSet`
DataExpression.`variablesUpdated()`
`VariableSet`
DataIdentifier.`variablesUpdated()`
`VariableSet`
DoubleIdentifier.`variablesUpdated()`
`abstract VariableSet`
Expression.`variablesUpdated()`
`VariableSet`
ExpressionList.`variablesUpdated()`
`VariableSet`
ForStatement.`variablesUpdated()`
`VariableSet`
FunctionCallIdentifier.`variablesUpdated()`
`VariableSet`
FunctionStatement.`variablesUpdated()`
`VariableSet`
IfStatement.`variablesUpdated()`
`VariableSet`
ImportStatement.`variablesUpdated()`
`VariableSet`
IntIdentifier.`variablesUpdated()`
`VariableSet`
IterablePredicate.`variablesUpdated()`
`VariableSet`
ListIdentifier.`variablesUpdated()`
`VariableSet`
LiveVariableAnalysis.`variablesUpdated()`
`VariableSet`
MultiAssignmentStatement.`variablesUpdated()`
`VariableSet`
OutputStatement.`variablesUpdated()`
`VariableSet`
ParameterizedBuiltinFunctionExpression.`variablesUpdated()`
`VariableSet`
PathStatement.`variablesUpdated()`
`VariableSet`
PrintStatement.`variablesUpdated()`
`VariableSet`
RelationalExpression.`variablesUpdated()`
`abstract VariableSet`
Statement.`variablesUpdated()`
`VariableSet`
StringIdentifier.`variablesUpdated()`
`VariableSet`
WhileStatement.`variablesUpdated()`
Methods in org.apache.sysds.parser with parameters of type VariableSet
Modifier and Type
Method
Description
`void`
VariableSet.`addVariables(VariableSet vs)`
`VariableSet`
ForStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
FunctionStatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
FunctionStatementBlock.`analyze(VariableSet liPassed, VariableSet loPassed)`
`VariableSet`
IfStatementBlock.`analyze(VariableSet loPassed)`
`abstract VariableSet`
LiveVariableAnalysis.`analyze(VariableSet loPassed)`
`VariableSet`
StatementBlock.`analyze(VariableSet loPassed)`
`VariableSet`
WhileStatementBlock.`analyze(VariableSet loPassed)`
`void`
DMLTranslator.`cleanupLiveOutVariables(List<StatementBlock> sbs, VariableSet unionLiveIn)`
`VariableSet`
AssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
ForStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
ForStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
FunctionStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
FunctionStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
IfStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
IfStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
ImportStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet`
LiveVariableAnalysis.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
MultiAssignmentStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
OutputStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
PathStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
PrintStatement.`initializebackwardLV(VariableSet lo)`
`abstract VariableSet`
Statement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
StatementBlock.`initializebackwardLV(VariableSet loPassed)`
`VariableSet`
WhileStatement.`initializebackwardLV(VariableSet lo)`
`VariableSet`
WhileStatementBlock.`initializebackwardLV(VariableSet loPassed)`
`void`
AssignmentStatement.`initializeforwardLV(VariableSet activeIn)`
`void`
ForStatement.`initializeforwardLV(VariableSet activeIn)`
`VariableSet`
ForStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`void`
FunctionStatement.`initializeforwardLV(VariableSet activeIn)`
`VariableSet`
FunctionStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`void`
IfStatement.`initializeforwardLV(VariableSet activeIn)`
`VariableSet`
IfStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`void`
ImportStatement.`initializeforwardLV(VariableSet activeIn)`
`abstract VariableSet`
LiveVariableAnalysis.`initializeforwardLV(VariableSet activeIn)`
`void`
MultiAssignmentStatement.`initializeforwardLV(VariableSet activeIn)`
`void`
OutputStatement.`initializeforwardLV(VariableSet activeIn)`
`void`
PathStatement.`initializeforwardLV(VariableSet activeIn)`
`void`
PrintStatement.`initializeforwardLV(VariableSet activeIn)`
`abstract void`
Statement.`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)`
`VariableSet`
WhileStatementBlock.`initializeforwardLV(VariableSet activeInPassed)`
`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`
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`
IfStatementBlock.`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`
StatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
`VariableSet`
WhileStatementBlock.`validate(DMLProgram dmlProg, VariableSet ids, HashMap<String,ConstIdentifier> constVars, boolean conditional)`
Constructors in org.apache.sysds.parser with parameters of type VariableSet
Modifier
Constructor
Description
``
`VariableSet(VariableSet vs)`