blob: 0275f7edd21791af74341c4fd044fa7d71d17683 [file]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>ForStatementBlock (Apache SystemDS 3.2.0-SNAPSHOT API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.min.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.min.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ForStatementBlock (Apache SystemDS 3.2.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ForStatementBlock.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.sysds.parser</a></div>
<h2 title="Class ForStatementBlock" class="title">Class ForStatementBlock</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li><a href="LiveVariableAnalysis.html" title="class in org.apache.sysds.parser">org.apache.sysds.parser.LiveVariableAnalysis</a></li>
<li>
<ul class="inheritance">
<li><a href="StatementBlock.html" title="class in org.apache.sysds.parser">org.apache.sysds.parser.StatementBlock</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sysds.parser.ForStatementBlock</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="ParseInfo.html" title="interface in org.apache.sysds.parser">ParseInfo</a></code></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><code><a href="ParForStatementBlock.html" title="class in org.apache.sysds.parser">ParForStatementBlock</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ForStatementBlock</span>
extends <a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a id="fields.inherited.from.class.org.apache.sysds.parser.StatementBlock">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.sysds.parser.<a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></h3>
<code><a href="StatementBlock.html#DEFAULT_LOOP_REPETITIONS">DEFAULT_LOOP_REPETITIONS</a></code></li>
</ul>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ForStatementBlock</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#analyze(org.apache.sysds.parser.VariableSet)">analyze</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEstimateReps()">getEstimateReps</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFromHops()">getFromHops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFromLops()">getFromLops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIncrementHops()">getIncrementHops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIncrementLops()">getIncrementLops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getInputstoSB()">getInputstoSB</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="IterablePredicate.html" title="class in org.apache.sysds.parser">IterablePredicate</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIterPredicate()">getIterPredicate</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getToHops()">getToHops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getToLops()">getToLops</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initializebackwardLV(org.apache.sysds.parser.VariableSet)">initializebackwardLV</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#initializeforwardLV(org.apache.sysds.parser.VariableSet)">initializeforwardLV</a></span>&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;activeInPassed)</code></th>
<td class="colLast">
<div class="block">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.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#performConstantPropagation(java.util.HashMap)">performConstantPropagation</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="ConstIdentifier.html" title="class in org.apache.sysds.parser">ConstIdentifier</a>&gt;&nbsp;currConstVars)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresFromRecompilation()">requiresFromRecompilation</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresIncrementRecompilation()">requiresIncrementRecompilation</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresPredicateRecompilation()">requiresPredicateRecompilation</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresToRecompilation()">requiresToRecompilation</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFromHops(org.apache.sysds.hops.Hop)">setFromHops</a></span>&#8203;(<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setFromLops(org.apache.sysds.lops.Lop)">setFromLops</a></span>&#8203;(<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;lops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIncrementHops(org.apache.sysds.hops.Hop)">setIncrementHops</a></span>&#8203;(<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setIncrementLops(org.apache.sysds.lops.Lop)">setIncrementLops</a></span>&#8203;(<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;lops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setToHops(org.apache.sysds.hops.Hop)">setToHops</a></span>&#8203;(<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setToLops(org.apache.sysds.lops.Lop)">setToLops</a></span>&#8203;(<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;lops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updatePredicateRecompilationFlags()">updatePredicateRecompilationFlags</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateRepetitionEstimates(double)">updateRepetitionEstimates</a></span>&#8203;(double&nbsp;repetitions)</code></th>
<td class="colLast">
<div class="block">Updates the repetition estimate for this statement block
and all contained hops.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validate(org.apache.sysds.parser.DMLProgram,org.apache.sysds.parser.VariableSet,java.util.HashMap,boolean)">validate</a></span>&#8203;(<a href="DMLProgram.html" title="class in org.apache.sysds.parser">DMLProgram</a>&nbsp;dmlProg,
<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;ids,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="ConstIdentifier.html" title="class in org.apache.sysds.parser">ConstIdentifier</a>&gt;&nbsp;constVars,
boolean&nbsp;conditional)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.sysds.parser.StatementBlock">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sysds.parser.<a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></h3>
<code><a href="StatementBlock.html#addStatement(org.apache.sysds.parser.Statement)">addStatement</a>, <a href="StatementBlock.html#addStatementBlock(org.apache.sysds.parser.StatementBlock)">addStatementBlock</a>, <a href="StatementBlock.html#getBeginColumn()">getBeginColumn</a>, <a href="StatementBlock.html#getBeginLine()">getBeginLine</a>, <a href="StatementBlock.html#getConstIn()">getConstIn</a>, <a href="StatementBlock.html#getConstOut()">getConstOut</a>, <a href="StatementBlock.html#getDMLProg()">getDMLProg</a>, <a href="StatementBlock.html#getEndColumn()">getEndColumn</a>, <a href="StatementBlock.html#getEndLine()">getEndLine</a>, <a href="StatementBlock.html#getFilename()">getFilename</a>, <a href="StatementBlock.html#getHops()">getHops</a>, <a href="StatementBlock.html#getLops()">getLops</a>, <a href="StatementBlock.html#getName()">getName</a>, <a href="StatementBlock.html#getNumStatements()">getNumStatements</a>, <a href="StatementBlock.html#getOutputNamesofSB()">getOutputNamesofSB</a>, <a href="StatementBlock.html#getOutputsofSB()">getOutputsofSB</a>, <a href="StatementBlock.html#getSBID()">getSBID</a>, <a href="StatementBlock.html#getStatement(int)">getStatement</a>, <a href="StatementBlock.html#getStatements()">getStatements</a>, <a href="StatementBlock.html#getText()">getText</a>, <a href="StatementBlock.html#getUpdateInPlaceVars()">getUpdateInPlaceVars</a>, <a href="StatementBlock.html#hasHops()">hasHops</a>, <a href="StatementBlock.html#isMergeableFunctionCallBlock(org.apache.sysds.parser.DMLProgram)">isMergeableFunctionCallBlock</a>, <a href="StatementBlock.html#isNondeterministic()">isNondeterministic</a>, <a href="StatementBlock.html#isRewritableFunctionCall(org.apache.sysds.parser.Statement,org.apache.sysds.parser.DMLProgram)">isRewritableFunctionCall</a>, <a href="StatementBlock.html#isSplitDag()">isSplitDag</a>, <a href="StatementBlock.html#mergeable()">mergeable</a>, <a href="StatementBlock.html#mergeFunctionCalls(java.util.List,org.apache.sysds.parser.DMLProgram)">mergeFunctionCalls</a>, <a href="StatementBlock.html#mergeStatementBlocks(java.util.List)">mergeStatementBlocks</a>, <a href="StatementBlock.html#printBlockErrorLocation()">printBlockErrorLocation</a>, <a href="StatementBlock.html#printErrorLocation()">printErrorLocation</a>, <a href="StatementBlock.html#printWarningLocation()">printWarningLocation</a>, <a href="StatementBlock.html#raiseValidateError(java.lang.String,boolean)">raiseValidateError</a>, <a href="StatementBlock.html#raiseValidateError(java.lang.String,boolean,java.lang.String)">raiseValidateError</a>, <a href="StatementBlock.html#requiresRecompilation()">requiresRecompilation</a>, <a href="StatementBlock.html#rewriteFunctionCallStatements(org.apache.sysds.parser.DMLProgram,java.util.ArrayList)">rewriteFunctionCallStatements</a>, <a href="StatementBlock.html#rHoistFunctionCallsFromExpressions(org.apache.sysds.parser.Expression,boolean,java.util.ArrayList,org.apache.sysds.parser.DMLProgram)">rHoistFunctionCallsFromExpressions</a>, <a href="StatementBlock.html#rHoistFunctionCallsFromExpressions(org.apache.sysds.parser.StatementBlock,org.apache.sysds.parser.DMLProgram)">rHoistFunctionCallsFromExpressions</a>, <a href="StatementBlock.html#rHoistFunctionCallsFromExpressions(org.apache.sysds.parser.Statement,org.apache.sysds.parser.DMLProgram)">rHoistFunctionCallsFromExpressions</a>, <a href="StatementBlock.html#setBeginColumn(int)">setBeginColumn</a>, <a href="StatementBlock.html#setBeginLine(int)">setBeginLine</a>, <a href="StatementBlock.html#setDMLProg(org.apache.sysds.parser.DMLProgram)">setDMLProg</a>, <a href="StatementBlock.html#setEndColumn(int)">setEndColumn</a>, <a href="StatementBlock.html#setEndLine(int)">setEndLine</a>, <a href="StatementBlock.html#setFilename(java.lang.String)">setFilename</a>, <a href="StatementBlock.html#setHops(java.util.ArrayList)">setHops</a>, <a href="StatementBlock.html#setLops(java.util.ArrayList)">setLops</a>, <a href="StatementBlock.html#setNondeterministic(boolean)">setNondeterministic</a>, <a href="StatementBlock.html#setParseInfo(org.apache.sysds.parser.ParseInfo)">setParseInfo</a>, <a href="StatementBlock.html#setSplitDag(boolean)">setSplitDag</a>, <a href="StatementBlock.html#setStatementFormatType(org.apache.sysds.parser.AssignmentStatement,boolean)">setStatementFormatType</a>, <a href="StatementBlock.html#setStatementFormatType(org.apache.sysds.parser.OutputStatement,boolean)">setStatementFormatType</a>, <a href="StatementBlock.html#setStatements(java.util.ArrayList)">setStatements</a>, <a href="StatementBlock.html#setText(java.lang.String)">setText</a>, <a href="StatementBlock.html#setUpdateInPlaceVars(java.util.ArrayList)">setUpdateInPlaceVars</a>, <a href="StatementBlock.html#toString()">toString</a>, <a href="StatementBlock.html#updateRecompilationFlag()">updateRecompilationFlag</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.org.apache.sysds.parser.LiveVariableAnalysis">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.sysds.parser.<a href="LiveVariableAnalysis.html" title="class in org.apache.sysds.parser">LiveVariableAnalysis</a></h3>
<code><a href="LiveVariableAnalysis.html#getGen()">getGen</a>, <a href="LiveVariableAnalysis.html#getKill()">getKill</a>, <a href="LiveVariableAnalysis.html#getWarn()">getWarn</a>, <a href="LiveVariableAnalysis.html#liveIn()">liveIn</a>, <a href="LiveVariableAnalysis.html#liveOut()">liveOut</a>, <a href="LiveVariableAnalysis.html#setGen(org.apache.sysds.parser.VariableSet)">setGen</a>, <a href="LiveVariableAnalysis.html#setKill(org.apache.sysds.parser.VariableSet)">setKill</a>, <a href="LiveVariableAnalysis.html#setLiveIn(org.apache.sysds.parser.VariableSet)">setLiveIn</a>, <a href="LiveVariableAnalysis.html#setLiveOut(org.apache.sysds.parser.VariableSet)">setLiveOut</a>, <a href="LiveVariableAnalysis.html#setReadVariables(org.apache.sysds.parser.VariableSet)">setReadVariables</a>, <a href="LiveVariableAnalysis.html#setUpdatedVariables(org.apache.sysds.parser.VariableSet)">setUpdatedVariables</a>, <a href="LiveVariableAnalysis.html#updateLiveVariablesOut(org.apache.sysds.parser.VariableSet)">updateLiveVariablesOut</a>, <a href="LiveVariableAnalysis.html#variablesRead()">variablesRead</a>, <a href="LiveVariableAnalysis.html#variablesUpdated()">variablesUpdated</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3>
<code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ForStatementBlock</h4>
<pre>public&nbsp;ForStatementBlock()</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="getIterPredicate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIterPredicate</h4>
<pre class="methodSignature">public&nbsp;<a href="IterablePredicate.html" title="class in org.apache.sysds.parser">IterablePredicate</a>&nbsp;getIterPredicate()</pre>
</li>
</ul>
<a id="validate(org.apache.sysds.parser.DMLProgram,org.apache.sysds.parser.VariableSet,java.util.HashMap,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>validate</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;validate&#8203;(<a href="DMLProgram.html" title="class in org.apache.sysds.parser">DMLProgram</a>&nbsp;dmlProg,
<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;ids,
<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="ConstIdentifier.html" title="class in org.apache.sysds.parser">ConstIdentifier</a>&gt;&nbsp;constVars,
boolean&nbsp;conditional)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#validate(org.apache.sysds.parser.DMLProgram,org.apache.sysds.parser.VariableSet,java.util.HashMap,boolean)">validate</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="initializeforwardLV(org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializeforwardLV</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;initializeforwardLV&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;activeInPassed)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="StatementBlock.html#initializeforwardLV(org.apache.sysds.parser.VariableSet)">StatementBlock</a></code></span></div>
<div class="block">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.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#initializeforwardLV(org.apache.sysds.parser.VariableSet)">initializeforwardLV</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="initializebackwardLV(org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>initializebackwardLV</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;initializebackwardLV&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#initializebackwardLV(org.apache.sysds.parser.VariableSet)">initializebackwardLV</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="setFromHops(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromHops</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setFromHops&#8203;(<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</pre>
</li>
</ul>
<a id="setToHops(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setToHops</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setToHops&#8203;(<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</pre>
</li>
</ul>
<a id="setIncrementHops(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIncrementHops</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setIncrementHops&#8203;(<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</pre>
</li>
</ul>
<a id="getFromHops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFromHops</h4>
<pre class="methodSignature">public&nbsp;<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;getFromHops()</pre>
</li>
</ul>
<a id="getToHops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getToHops</h4>
<pre class="methodSignature">public&nbsp;<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;getToHops()</pre>
</li>
</ul>
<a id="getIncrementHops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIncrementHops</h4>
<pre class="methodSignature">public&nbsp;<a href="../hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;getIncrementHops()</pre>
</li>
</ul>
<a id="setFromLops(org.apache.sysds.lops.Lop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFromLops</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setFromLops&#8203;(<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;lops)</pre>
</li>
</ul>
<a id="setToLops(org.apache.sysds.lops.Lop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setToLops</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setToLops&#8203;(<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;lops)</pre>
</li>
</ul>
<a id="setIncrementLops(org.apache.sysds.lops.Lop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIncrementLops</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setIncrementLops&#8203;(<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;lops)</pre>
</li>
</ul>
<a id="getFromLops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFromLops</h4>
<pre class="methodSignature">public&nbsp;<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;getFromLops()</pre>
</li>
</ul>
<a id="getToLops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getToLops</h4>
<pre class="methodSignature">public&nbsp;<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;getToLops()</pre>
</li>
</ul>
<a id="getIncrementLops()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIncrementLops</h4>
<pre class="methodSignature">public&nbsp;<a href="../lops/Lop.html" title="class in org.apache.sysds.lops">Lop</a>&nbsp;getIncrementLops()</pre>
</li>
</ul>
<a id="getInputstoSB()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInputstoSB</h4>
<pre class="methodSignature">public&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/ArrayList.html?is-external=true" title="class or interface in java.util" class="externalLink">ArrayList</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&gt;&nbsp;getInputstoSB()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#getInputstoSB()">getInputstoSB</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="analyze(org.apache.sysds.parser.VariableSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>analyze</h4>
<pre class="methodSignature">public&nbsp;<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;analyze&#8203;(<a href="VariableSet.html" title="class in org.apache.sysds.parser">VariableSet</a>&nbsp;loPassed)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#analyze(org.apache.sysds.parser.VariableSet)">analyze</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
</dl>
</li>
</ul>
<a id="performConstantPropagation(java.util.HashMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>performConstantPropagation</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;performConstantPropagation&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink">HashMap</a>&lt;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>,&#8203;<a href="ConstIdentifier.html" title="class in org.apache.sysds.parser">ConstIdentifier</a>&gt;&nbsp;currConstVars)</pre>
</li>
</ul>
<a id="updatePredicateRecompilationFlags()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updatePredicateRecompilationFlags</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;updatePredicateRecompilationFlags()</pre>
</li>
</ul>
<a id="requiresPredicateRecompilation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresPredicateRecompilation</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;requiresPredicateRecompilation()</pre>
</li>
</ul>
<a id="requiresFromRecompilation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresFromRecompilation</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;requiresFromRecompilation()</pre>
</li>
</ul>
<a id="requiresToRecompilation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresToRecompilation</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;requiresToRecompilation()</pre>
</li>
</ul>
<a id="requiresIncrementRecompilation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresIncrementRecompilation</h4>
<pre class="methodSignature">public&nbsp;boolean&nbsp;requiresIncrementRecompilation()</pre>
</li>
</ul>
<a id="getEstimateReps()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEstimateReps</h4>
<pre class="methodSignature">public&nbsp;int&nbsp;getEstimateReps()</pre>
</li>
</ul>
<a id="updateRepetitionEstimates(double)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>updateRepetitionEstimates</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;updateRepetitionEstimates&#8203;(double&nbsp;repetitions)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="StatementBlock.html#updateRepetitionEstimates(double)">StatementBlock</a></code></span></div>
<div class="block">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.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="StatementBlock.html#updateRepetitionEstimates(double)">updateRepetitionEstimates</a></code>&nbsp;in class&nbsp;<code><a href="StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>repetitions</code> - estimated for this statement block</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ForStatementBlock.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2023 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>