blob: 83304dcef062cbc6c80650a59b1df3584783c061 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Recompiler (SystemDS 2.1.0-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Recompiler (SystemDS 2.1.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Recompiler.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">
<li><a href="../../../../../org/apache/sysds/hops/recompile/LiteralReplacement.html" title="class in org.apache.sysds.hops.recompile"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/sysds/hops/recompile/Recompiler.html" target="_top">Frames</a></li>
<li><a href="Recompiler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.sysds.hops.recompile</div>
<h2 title="Class Recompiler" class="title">Class Recompiler</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.sysds.hops.recompile.Recompiler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">Recompiler</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Dynamic recompilation of hop dags to runtime instructions, which includes the
following substeps:
(1) deep copy hop dag, (2) refresh matrix characteristics, (3) apply
dynamic rewrites, (4) refresh memory estimates, (5) construct lops (incl
operator selection), and (6) generate runtime program (incl piggybacking).</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#Recompiler--">Recompiler</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#checkCPCheckpoint-org.apache.sysds.runtime.meta.DataCharacteristics-">checkCPCheckpoint</a></span>(<a href="../../../../../org/apache/sysds/runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;dc)</code>&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#checkCPReblock-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-java.lang.String-">checkCPReblock</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;varin)</code>
<div class="block">CP Reblock check for spark instructions; in contrast to MR, we can not
rely on the input file sizes because inputs might be passed via rdds.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#deepCopyHopsDag-org.apache.sysds.hops.Hop-">deepCopyHopsDag</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</code>
<div class="block">Deep copy of hops dags for parallel recompilation.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#deepCopyHopsDag-java.util.List-">deepCopyHopsDag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code>
<div class="block">Deep copy of hops dags for parallel recompilation.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#executeInMemoryReblock-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-java.lang.String-java.lang.String-">executeInMemoryReblock</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;varin,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;varout)</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#extractDAGOutputStatistics-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-">extractDAGOutputStatistics</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#extractDAGOutputStatistics-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-boolean-">extractDAGOutputStatistics</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#extractDAGOutputStatistics-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-boolean-">extractDAGOutputStatistics</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rClearLops-org.apache.sysds.hops.Hop-">rClearLops</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code>
<div class="block">Clearing lops for a given hops includes to (1) remove the reference
to constructed lops and (2) clear the exec type (for consistency).</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDag-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.hops.recompile.RecompileStatus-boolean-boolean-long-">recompileHopsDag</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDag-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-org.apache.sysds.hops.recompile.RecompileStatus-boolean-boolean-long-">recompileHopsDag</a></span>(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDag-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.hops.recompile.RecompileStatus-boolean-boolean-long-">recompileHopsDag</a></span>(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDag2Forced-org.apache.sysds.hops.Hop-long-org.apache.sysds.lops.LopProperties.ExecType-">recompileHopsDag2Forced</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;tid,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDag2Forced-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-long-org.apache.sysds.lops.LopProperties.ExecType-">recompileHopsDag2Forced</a></span>(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;tid,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDagInstructions-org.apache.sysds.hops.Hop-">recompileHopsDagInstructions</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileHopsDagInstructions-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-">recompileHopsDagInstructions</a></span>(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileProgramBlockHierarchy-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-long-boolean-org.apache.sysds.hops.recompile.Recompiler.ResetType-">recompileProgramBlockHierarchy</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&gt;&nbsp;pbs,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
long&nbsp;tid,
boolean&nbsp;inplace,
<a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a>&nbsp;resetRecompile)</code>&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileProgramBlockHierarchy2Forced-java.util.ArrayList-long-java.util.HashSet-org.apache.sysds.lops.LopProperties.ExecType-">recompileProgramBlockHierarchy2Forced</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&gt;&nbsp;pbs,
long&nbsp;tid,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fnStack,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</code>
<div class="block">Method to recompile program block hierarchy to forced execution time.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#recompileProgramBlockInstructions-org.apache.sysds.runtime.controlprogram.ProgramBlock-">recompileProgramBlockInstructions</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&nbsp;pb)</code>
<div class="block">This method does NO full program block recompile (no stats update, no rewrites, no recursion) but
only regenerates lops and instructions.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#reconcileUpdatedCallVarsIf-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.parser.StatementBlock-">reconcileUpdatedCallVarsIf</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsIf,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsElse,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#reconcileUpdatedCallVarsIf-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.parser.StatementBlock-">reconcileUpdatedCallVarsIf</a></span>(<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldStatus,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusIf,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusElse,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#reconcileUpdatedCallVarsLoops-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.parser.StatementBlock-">reconcileUpdatedCallVarsLoops</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#reconcileUpdatedCallVarsLoops-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.parser.StatementBlock-">reconcileUpdatedCallVarsLoops</a></span>(<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldCallStatus,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatus,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code>&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#reinitRecompiler--">reinitRecompiler</a></span>()</code>
<div class="block">Re-initializes the recompiler according to the current optimizer flags.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#removeUpdatedScalars-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.parser.StatementBlock-">removeUpdatedScalars</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code>
<div class="block">Remove any scalar variables from the variable map if the variable
is updated in this block.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#requiresRecompilation-java.util.ArrayList-">requiresRecompilation</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#requiresRecompilation-org.apache.sysds.hops.Hop-">requiresRecompilation</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code>&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rGetMaxParallelism-org.apache.sysds.hops.Hop-">rGetMaxParallelism</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code>&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rGetMaxParallelism-java.util.List-">rGetMaxParallelism</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rRecompileProgramBlock2Forced-org.apache.sysds.runtime.controlprogram.ProgramBlock-long-java.util.HashSet-org.apache.sysds.lops.LopProperties.ExecType-">rRecompileProgramBlock2Forced</a></span>(<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&nbsp;pb,
long&nbsp;tid,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fnStack,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rReplaceLiterals-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-boolean-">rReplaceLiterals</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
boolean&nbsp;scalarsOnly)</code>
<div class="block">public interface to package local literal replacement</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rReplaceLiterals-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-boolean-">rReplaceLiterals</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;scalarsOnly)</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rSetExecType-org.apache.sysds.hops.Hop-org.apache.sysds.lops.LopProperties.ExecType-">rSetExecType</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;etype)</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rSetMaxParallelism-org.apache.sysds.hops.Hop-int-">rSetMaxParallelism</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rSetMaxParallelism-java.util.List-int-">rSetMaxParallelism</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
int&nbsp;k)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rUpdateFunctionNames-org.apache.sysds.hops.Hop-long-">rUpdateFunctionNames</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;pid)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#rUpdateStatistics-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-">rUpdateStatistics</a></span>(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.html#updateFunctionNames-java.util.ArrayList-long-">updateFunctionNames</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;pid)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Recompiler--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Recompiler</h4>
<pre>public&nbsp;Recompiler()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="reinitRecompiler--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reinitRecompiler</h4>
<pre>public static&nbsp;void&nbsp;reinitRecompiler()</pre>
<div class="block">Re-initializes the recompiler according to the current optimizer flags.</div>
</li>
</ul>
<a name="recompileHopsDag-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-org.apache.sysds.hops.recompile.RecompileStatus-boolean-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</pre>
</li>
</ul>
<a name="recompileHopsDag-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.hops.recompile.RecompileStatus-boolean-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</pre>
</li>
</ul>
<a name="recompileHopsDag-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.hops.recompile.RecompileStatus-boolean-boolean-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</pre>
</li>
</ul>
<a name="recompileHopsDag2Forced-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-long-org.apache.sysds.lops.LopProperties.ExecType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag2Forced</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag2Forced(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;tid,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</pre>
</li>
</ul>
<a name="recompileHopsDag2Forced-org.apache.sysds.hops.Hop-long-org.apache.sysds.lops.LopProperties.ExecType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag2Forced</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag2Forced(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;tid,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</pre>
</li>
</ul>
<a name="recompileHopsDagInstructions-org.apache.sysds.parser.StatementBlock-java.util.ArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDagInstructions</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDagInstructions(<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
</li>
</ul>
<a name="recompileHopsDagInstructions-org.apache.sysds.hops.Hop-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDagInstructions</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDagInstructions(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
</li>
</ul>
<a name="recompileProgramBlockHierarchy-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-long-boolean-org.apache.sysds.hops.recompile.Recompiler.ResetType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileProgramBlockHierarchy</h4>
<pre>public static&nbsp;void&nbsp;recompileProgramBlockHierarchy(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&gt;&nbsp;pbs,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
long&nbsp;tid,
boolean&nbsp;inplace,
<a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a>&nbsp;resetRecompile)</pre>
</li>
</ul>
<a name="recompileProgramBlockHierarchy2Forced-java.util.ArrayList-long-java.util.HashSet-org.apache.sysds.lops.LopProperties.ExecType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileProgramBlockHierarchy2Forced</h4>
<pre>public static&nbsp;void&nbsp;recompileProgramBlockHierarchy2Forced(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&gt;&nbsp;pbs,
long&nbsp;tid,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fnStack,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</pre>
<div class="block">Method to recompile program block hierarchy to forced execution time. This affects also
referenced functions and chains of functions. Use et==null in order to release the forced
exec type.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pbs</code> - list of program blocks</dd>
<dd><code>tid</code> - thread id</dd>
<dd><code>fnStack</code> - function stack</dd>
<dd><code>et</code> - execution type</dd>
</dl>
</li>
</ul>
<a name="recompileProgramBlockInstructions-org.apache.sysds.runtime.controlprogram.ProgramBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileProgramBlockInstructions</h4>
<pre>public static&nbsp;void&nbsp;recompileProgramBlockInstructions(<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&nbsp;pb)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">This method does NO full program block recompile (no stats update, no rewrites, no recursion) but
only regenerates lops and instructions. The primary use case is recompilation after are hop configuration
changes which allows to preserve statistics (e.g., propagated worst case stats from other program blocks)
and better performance for recompiling individual program blocks.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pb</code> - program block</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if IOException occurs</dd>
</dl>
</li>
</ul>
<a name="requiresRecompilation-java.util.ArrayList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresRecompilation</h4>
<pre>public static&nbsp;boolean&nbsp;requiresRecompilation(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
</li>
</ul>
<a name="requiresRecompilation-org.apache.sysds.hops.Hop-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresRecompilation</h4>
<pre>public static&nbsp;boolean&nbsp;requiresRecompilation(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
</li>
</ul>
<a name="deepCopyHopsDag-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deepCopyHopsDag</h4>
<pre>public static&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;deepCopyHopsDag(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
<div class="block">Deep copy of hops dags for parallel recompilation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hops</code> - list of high-level operators</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>list of high-level operators</dd>
</dl>
</li>
</ul>
<a name="deepCopyHopsDag-org.apache.sysds.hops.Hop-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deepCopyHopsDag</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;deepCopyHopsDag(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</pre>
<div class="block">Deep copy of hops dags for parallel recompilation.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hops</code> - high-level operator</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>high-level operator</dd>
</dl>
</li>
</ul>
<a name="updateFunctionNames-java.util.ArrayList-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateFunctionNames</h4>
<pre>public static&nbsp;void&nbsp;updateFunctionNames(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;pid)</pre>
</li>
</ul>
<a name="rUpdateFunctionNames-org.apache.sysds.hops.Hop-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rUpdateFunctionNames</h4>
<pre>public static&nbsp;void&nbsp;rUpdateFunctionNames(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;pid)</pre>
</li>
</ul>
<a name="reconcileUpdatedCallVarsLoops-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.parser.StatementBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconcileUpdatedCallVarsLoops</h4>
<pre>public static&nbsp;boolean&nbsp;reconcileUpdatedCallVarsLoops(<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a name="reconcileUpdatedCallVarsLoops-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.parser.StatementBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconcileUpdatedCallVarsLoops</h4>
<pre>public static&nbsp;boolean&nbsp;reconcileUpdatedCallVarsLoops(<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldCallStatus,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatus,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a name="reconcileUpdatedCallVarsIf-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.parser.StatementBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconcileUpdatedCallVarsIf</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;reconcileUpdatedCallVarsIf(<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsIf,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsElse,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a name="reconcileUpdatedCallVarsIf-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.hops.recompile.RecompileStatus-org.apache.sysds.parser.StatementBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reconcileUpdatedCallVarsIf</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;reconcileUpdatedCallVarsIf(<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldStatus,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusIf,
<a href="../../../../../org/apache/sysds/hops/recompile/RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusElse,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a name="rRecompileProgramBlock2Forced-org.apache.sysds.runtime.controlprogram.ProgramBlock-long-java.util.HashSet-org.apache.sysds.lops.LopProperties.ExecType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rRecompileProgramBlock2Forced</h4>
<pre>public static&nbsp;void&nbsp;rRecompileProgramBlock2Forced(<a href="../../../../../org/apache/sysds/runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&nbsp;pb,
long&nbsp;tid,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashSet.html?is-external=true" title="class or interface in java.util">HashSet</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fnStack,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;et)</pre>
</li>
</ul>
<a name="removeUpdatedScalars-org.apache.sysds.runtime.controlprogram.LocalVariableMap-org.apache.sysds.parser.StatementBlock-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeUpdatedScalars</h4>
<pre>public static&nbsp;void&nbsp;removeUpdatedScalars(<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../../../../org/apache/sysds/parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
<div class="block">Remove any scalar variables from the variable map if the variable
is updated in this block.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>callVars</code> - Map of variables eligible for propagation.</dd>
<dd><code>sb</code> - DML statement block.</dd>
</dl>
</li>
</ul>
<a name="extractDAGOutputStatistics-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractDAGOutputStatistics</h4>
<pre>public static&nbsp;void&nbsp;extractDAGOutputStatistics(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</pre>
</li>
</ul>
<a name="extractDAGOutputStatistics-java.util.ArrayList-org.apache.sysds.runtime.controlprogram.LocalVariableMap-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractDAGOutputStatistics</h4>
<pre>public static&nbsp;void&nbsp;extractDAGOutputStatistics(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</pre>
</li>
</ul>
<a name="extractDAGOutputStatistics-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractDAGOutputStatistics</h4>
<pre>public static&nbsp;void&nbsp;extractDAGOutputStatistics(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</pre>
</li>
</ul>
<a name="rClearLops-org.apache.sysds.hops.Hop-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rClearLops</h4>
<pre>public static&nbsp;void&nbsp;rClearLops(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
<div class="block">Clearing lops for a given hops includes to (1) remove the reference
to constructed lops and (2) clear the exec type (for consistency).
The latter is important for advanced optimizers like parfor; otherwise subtle
side-effects of program recompilation and hop-lop rewrites possible
(e.g., see indexingop hop-lop rewrite in combination parfor rewrite set
exec type that eventuelly might lead to unnecessary remote_parfor jobs).</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hop</code> - high-level operator</dd>
</dl>
</li>
</ul>
<a name="rUpdateStatistics-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rUpdateStatistics</h4>
<pre>public static&nbsp;void&nbsp;rUpdateStatistics(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</pre>
</li>
</ul>
<a name="rReplaceLiterals-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rReplaceLiterals</h4>
<pre>public static&nbsp;void&nbsp;rReplaceLiterals(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
boolean&nbsp;scalarsOnly)</pre>
<div class="block">public interface to package local literal replacement</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>hop</code> - high-level operator</dd>
<dd><code>ec</code> - Execution context</dd>
<dd><code>scalarsOnly</code> - if true, replace only scalar variables but no matrix operations;
if false, apply full literal replacement</dd>
</dl>
</li>
</ul>
<a name="rReplaceLiterals-org.apache.sysds.hops.Hop-org.apache.sysds.runtime.controlprogram.LocalVariableMap-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rReplaceLiterals</h4>
<pre>public static&nbsp;void&nbsp;rReplaceLiterals(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;scalarsOnly)</pre>
</li>
</ul>
<a name="rSetExecType-org.apache.sysds.hops.Hop-org.apache.sysds.lops.LopProperties.ExecType-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rSetExecType</h4>
<pre>public static&nbsp;void&nbsp;rSetExecType(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../../../../org/apache/sysds/lops/LopProperties.ExecType.html" title="enum in org.apache.sysds.lops">LopProperties.ExecType</a>&nbsp;etype)</pre>
</li>
</ul>
<a name="rGetMaxParallelism-java.util.List-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rGetMaxParallelism</h4>
<pre>public static&nbsp;int&nbsp;rGetMaxParallelism(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
</li>
</ul>
<a name="rGetMaxParallelism-org.apache.sysds.hops.Hop-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rGetMaxParallelism</h4>
<pre>public static&nbsp;int&nbsp;rGetMaxParallelism(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
</li>
</ul>
<a name="rSetMaxParallelism-java.util.List-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rSetMaxParallelism</h4>
<pre>public static&nbsp;void&nbsp;rSetMaxParallelism(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
int&nbsp;k)</pre>
</li>
</ul>
<a name="rSetMaxParallelism-org.apache.sysds.hops.Hop-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rSetMaxParallelism</h4>
<pre>public static&nbsp;void&nbsp;rSetMaxParallelism(<a href="../../../../../org/apache/sysds/hops/Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
int&nbsp;k)</pre>
</li>
</ul>
<a name="checkCPReblock-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCPReblock</h4>
<pre>public static&nbsp;boolean&nbsp;checkCPReblock(<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;varin)</pre>
<div class="block">CP Reblock check for spark instructions; in contrast to MR, we can not
rely on the input file sizes because inputs might be passed via rdds.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>ec</code> - execution context</dd>
<dd><code>varin</code> - variable</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if CP reblock?</dd>
</dl>
</li>
</ul>
<a name="checkCPCheckpoint-org.apache.sysds.runtime.meta.DataCharacteristics-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCPCheckpoint</h4>
<pre>public static&nbsp;boolean&nbsp;checkCPCheckpoint(<a href="../../../../../org/apache/sysds/runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;dc)</pre>
</li>
</ul>
<a name="executeInMemoryReblock-org.apache.sysds.runtime.controlprogram.context.ExecutionContext-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>executeInMemoryReblock</h4>
<pre>public static&nbsp;void&nbsp;executeInMemoryReblock(<a href="../../../../../org/apache/sysds/runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;varin,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;varout)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Recompiler.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">
<li><a href="../../../../../org/apache/sysds/hops/recompile/LiteralReplacement.html" title="class in org.apache.sysds.hops.recompile"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/sysds/hops/recompile/Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/sysds/hops/recompile/Recompiler.html" target="_top">Frames</a></li>
<li><a href="Recompiler.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>