blob: e81c1a23645aa9760935d1f41519b4e626896b73 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Recompiler (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="Recompiler (Apache SystemDS 3.2.0-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var data = {"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,"i38":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";
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/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" 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><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 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.hops.recompile</a></div>
<h2 title="Class Recompiler" class="title">Class Recompiler</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>org.apache.sysds.hops.recompile.Recompiler</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<pre>public class <span class="typeNameLabel">Recompiler</span>
extends <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></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 ======== -->
<section>
<ul class="blockList">
<li class="blockList"><a id="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="memberSummary">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Class</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</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()">Recompiler</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="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="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkCPCheckpoint(org.apache.sysds.runtime.meta.DataCharacteristics)">checkCPCheckpoint</a></span>&#8203;(<a href="../../runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;dc)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#checkCPReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String)">checkCPReblock</a></span>&#8203;(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<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>&nbsp;varin)</code></th>
<td class="colLast">
<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="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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deepCopyHopsDag(java.util.List)">deepCopyHopsDag</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code></th>
<td class="colLast">
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#deepCopyHopsDag(org.apache.sysds.hops.Hop)">deepCopyHopsDag</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hops)</code></th>
<td class="colLast">
<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>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String)">executeInMemoryReblock</a></span>&#8203;(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<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>&nbsp;varin,
<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>&nbsp;varout)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String,org.apache.sysds.runtime.lineage.LineageItem)">executeInMemoryReblock</a></span>&#8203;(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<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>&nbsp;varin,
<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>&nbsp;varout,
<a href="../../runtime/lineage/LineageItem.html" title="class in org.apache.sysds.runtime.lineage">LineageItem</a>&nbsp;litem)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap)">extractDAGOutputStatistics</a></span>&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">extractDAGOutputStatistics</a></span>&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#extractDAGOutputStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">extractDAGOutputStatistics</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rClearLops(org.apache.sysds.hops.Hop)">rClearLops</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code></th>
<td class="colLast">
<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="i10" class="altColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.hops.recompile.RecompileStatus,boolean,boolean,long)">recompileHopsDag</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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>&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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>&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;status,
boolean&nbsp;inplace,
boolean&nbsp;replaceLit,
long&nbsp;tid)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag2Forced(org.apache.sysds.hops.Hop,long,org.apache.sysds.common.Types.ExecType)">recompileHopsDag2Forced</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;tid,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDag2Forced(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,long,org.apache.sysds.common.Types.ExecType)">recompileHopsDag2Forced</a></span>&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;tid,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDagInstructions(org.apache.sysds.hops.Hop)">recompileHopsDagInstructions</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileHopsDagInstructions(org.apache.sysds.parser.StatementBlock,java.util.ArrayList)">recompileHopsDagInstructions</a></span>&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileProgramBlockHierarchy(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,long,boolean,org.apache.sysds.hops.recompile.Recompiler.ResetType)">recompileProgramBlockHierarchy</a></span>&#8203;(<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="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&gt;&nbsp;pbs,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
long&nbsp;tid,
boolean&nbsp;inplace,
<a href="Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a>&nbsp;resetRecompile)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileProgramBlockHierarchy2Forced(java.util.ArrayList,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)">recompileProgramBlockHierarchy2Forced</a></span>&#8203;(<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="../../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/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</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;fnStack,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</code></th>
<td class="colLast">
<div class="block">Method to recompile program block hierarchy to forced execution time.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#recompileProgramBlockInstructions(org.apache.sysds.runtime.controlprogram.ProgramBlock)">recompileProgramBlockInstructions</a></span>&#8203;(<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&nbsp;pb)</code></th>
<td class="colLast">
<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="i20" class="altColor">
<td class="colFirst"><code>static <a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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>&#8203;(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldStatus,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusIf,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusElse,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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>&#8203;(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsIf,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsElse,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reconcileUpdatedCallVarsLoops(org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.hops.recompile.RecompileStatus,org.apache.sysds.parser.StatementBlock)">reconcileUpdatedCallVarsLoops</a></span>&#8203;(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldCallStatus,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatus,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reconcileUpdatedCallVarsLoops(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)">reconcileUpdatedCallVarsLoops</a></span>&#8203;(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reinitRecompiler()">reinitRecompiler</a></span>()</code></th>
<td class="colLast">
<div class="block">Re-initializes the recompiler according to the current optimizer flags.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeUpdatedScalars(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)">removeUpdatedScalars</a></span>&#8203;(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</code></th>
<td class="colLast">
<div class="block">Remove any scalar variables from the variable map if the variable
is updated in this block.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresRecompilation(java.util.ArrayList)">requiresRecompilation</a></span>&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#requiresRecompilation(org.apache.sysds.hops.Hop)">requiresRecompilation</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rGetMaxParallelism(java.util.List)">rGetMaxParallelism</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rGetMaxParallelism(org.apache.sysds.hops.Hop)">rGetMaxParallelism</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rRecompileProgramBlock2Forced(org.apache.sysds.runtime.controlprogram.ProgramBlock,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)">rRecompileProgramBlock2Forced</a></span>&#8203;(<a href="../../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/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</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;fnStack,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.context.ExecutionContext,boolean)">rReplaceLiterals</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
boolean&nbsp;scalarsOnly)</code></th>
<td class="colLast">
<div class="block">public interface to package local literal replacement</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">rReplaceLiterals</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;scalarsOnly)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rSetExecType(org.apache.sysds.hops.Hop,org.apache.sysds.common.Types.ExecType)">rSetExecType</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;etype)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rSetMaxParallelism(java.util.List,int)">rSetMaxParallelism</a></span>&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
int&nbsp;k)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rSetMaxParallelism(org.apache.sysds.hops.Hop,int)">rSetMaxParallelism</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
int&nbsp;k)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rUpdateFunctionNames(org.apache.sysds.hops.Hop,long)">rUpdateFunctionNames</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;pid)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rUpdateStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap)">rUpdateStatistics</a></span>&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>static void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateFunctionNames(java.util.ArrayList,long)">updateFunctionNames</a></span>&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;pid)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
<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#toString()" title="class or interface in java.lang" class="externalLink">toString</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>Recompiler</h4>
<pre>public&nbsp;Recompiler()</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="reinitRecompiler()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reinitRecompiler</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;reinitRecompiler()</pre>
<div class="block">Re-initializes the recompiler according to the current optimizer flags.</div>
</li>
</ul>
<a id="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 class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<a href="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 id="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 class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="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 id="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 class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
<a href="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 id="recompileHopsDag2Forced(org.apache.sysds.parser.StatementBlock,java.util.ArrayList,long,org.apache.sysds.common.Types.ExecType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag2Forced</h4>
<pre class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag2Forced&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;tid,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</pre>
</li>
</ul>
<a id="recompileHopsDag2Forced(org.apache.sysds.hops.Hop,long,org.apache.sysds.common.Types.ExecType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDag2Forced</h4>
<pre class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDag2Forced&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;tid,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</pre>
</li>
</ul>
<a id="recompileHopsDagInstructions(org.apache.sysds.parser.StatementBlock,java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDagInstructions</h4>
<pre class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDagInstructions&#8203;(<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb,
<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
</li>
</ul>
<a id="recompileHopsDagInstructions(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileHopsDagInstructions</h4>
<pre class="methodSignature">public static&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="../../runtime/instructions/Instruction.html" title="class in org.apache.sysds.runtime.instructions">Instruction</a>&gt;&nbsp;recompileHopsDagInstructions&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
</li>
</ul>
<a id="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 class="methodSignature">public static&nbsp;void&nbsp;recompileProgramBlockHierarchy&#8203;(<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="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&gt;&nbsp;pbs,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
long&nbsp;tid,
boolean&nbsp;inplace,
<a href="Recompiler.ResetType.html" title="enum in org.apache.sysds.hops.recompile">Recompiler.ResetType</a>&nbsp;resetRecompile)</pre>
</li>
</ul>
<a id="recompileProgramBlockHierarchy2Forced(java.util.ArrayList,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileProgramBlockHierarchy2Forced</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;recompileProgramBlockHierarchy2Forced&#8203;(<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="../../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/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</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;fnStack,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.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 id="recompileProgramBlockInstructions(org.apache.sysds.runtime.controlprogram.ProgramBlock)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>recompileProgramBlockInstructions</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;recompileProgramBlockInstructions&#8203;(<a href="../../runtime/controlprogram/ProgramBlock.html" title="class in org.apache.sysds.runtime.controlprogram">ProgramBlock</a>&nbsp;pb)
throws <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">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/en/java/javase/11/docs/api/java.base/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code> - if IOException occurs</dd>
</dl>
</li>
</ul>
<a id="requiresRecompilation(java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresRecompilation</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;requiresRecompilation&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
</li>
</ul>
<a id="requiresRecompilation(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>requiresRecompilation</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;requiresRecompilation&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
</li>
</ul>
<a id="deepCopyHopsDag(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deepCopyHopsDag</h4>
<pre class="methodSignature">public static&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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;deepCopyHopsDag&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../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 id="deepCopyHopsDag(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deepCopyHopsDag</h4>
<pre class="methodSignature">public static&nbsp;<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;deepCopyHopsDag&#8203;(<a href="../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 id="updateFunctionNames(java.util.ArrayList,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateFunctionNames</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;updateFunctionNames&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
long&nbsp;pid)</pre>
</li>
</ul>
<a id="rUpdateFunctionNames(org.apache.sysds.hops.Hop,long)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rUpdateFunctionNames</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rUpdateFunctionNames&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
long&nbsp;pid)</pre>
</li>
</ul>
<a id="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 class="methodSignature">public static&nbsp;boolean&nbsp;reconcileUpdatedCallVarsLoops&#8203;(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a id="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 class="methodSignature">public static&nbsp;boolean&nbsp;reconcileUpdatedCallVarsLoops&#8203;(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldCallStatus,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatus,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a id="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 class="methodSignature">public static&nbsp;<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;reconcileUpdatedCallVarsIf&#8203;(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;oldCallVars,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsIf,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVarsElse,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a id="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 class="methodSignature">public static&nbsp;<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;reconcileUpdatedCallVarsIf&#8203;(<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;oldStatus,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusIf,
<a href="RecompileStatus.html" title="class in org.apache.sysds.hops.recompile">RecompileStatus</a>&nbsp;callStatusElse,
<a href="../../parser/StatementBlock.html" title="class in org.apache.sysds.parser">StatementBlock</a>&nbsp;sb)</pre>
</li>
</ul>
<a id="rRecompileProgramBlock2Forced(org.apache.sysds.runtime.controlprogram.ProgramBlock,long,java.util.HashSet,org.apache.sysds.common.Types.ExecType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rRecompileProgramBlock2Forced</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rRecompileProgramBlock2Forced&#8203;(<a href="../../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/en/java/javase/11/docs/api/java.base/java/util/HashSet.html?is-external=true" title="class or interface in java.util" class="externalLink">HashSet</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;fnStack,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;et)</pre>
</li>
</ul>
<a id="removeUpdatedScalars(org.apache.sysds.runtime.controlprogram.LocalVariableMap,org.apache.sysds.parser.StatementBlock)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>removeUpdatedScalars</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;removeUpdatedScalars&#8203;(<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;callVars,
<a href="../../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 id="extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractDAGOutputStatistics</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;extractDAGOutputStatistics&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</pre>
</li>
</ul>
<a id="extractDAGOutputStatistics(java.util.ArrayList,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractDAGOutputStatistics</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;extractDAGOutputStatistics&#8203;(<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="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</pre>
</li>
</ul>
<a id="extractDAGOutputStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>extractDAGOutputStatistics</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;extractDAGOutputStatistics&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;overwrite)</pre>
</li>
</ul>
<a id="rClearLops(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rClearLops</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rClearLops&#8203;(<a href="../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 id="rUpdateStatistics(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rUpdateStatistics</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rUpdateStatistics&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars)</pre>
</li>
</ul>
<a id="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 class="methodSignature">public static&nbsp;void&nbsp;rReplaceLiterals&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../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 id="rReplaceLiterals(org.apache.sysds.hops.Hop,org.apache.sysds.runtime.controlprogram.LocalVariableMap,boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rReplaceLiterals</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rReplaceLiterals&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../runtime/controlprogram/LocalVariableMap.html" title="class in org.apache.sysds.runtime.controlprogram">LocalVariableMap</a>&nbsp;vars,
boolean&nbsp;scalarsOnly)</pre>
</li>
</ul>
<a id="rSetExecType(org.apache.sysds.hops.Hop,org.apache.sysds.common.Types.ExecType)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rSetExecType</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rSetExecType&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
<a href="../../common/Types.ExecType.html" title="enum in org.apache.sysds.common">Types.ExecType</a>&nbsp;etype)</pre>
</li>
</ul>
<a id="rGetMaxParallelism(java.util.List)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rGetMaxParallelism</h4>
<pre class="methodSignature">public static&nbsp;int&nbsp;rGetMaxParallelism&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops)</pre>
</li>
</ul>
<a id="rGetMaxParallelism(org.apache.sysds.hops.Hop)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rGetMaxParallelism</h4>
<pre class="methodSignature">public static&nbsp;int&nbsp;rGetMaxParallelism&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop)</pre>
</li>
</ul>
<a id="rSetMaxParallelism(java.util.List,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rSetMaxParallelism</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rSetMaxParallelism&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a>&lt;<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&gt;&nbsp;hops,
int&nbsp;k)</pre>
</li>
</ul>
<a id="rSetMaxParallelism(org.apache.sysds.hops.Hop,int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rSetMaxParallelism</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;rSetMaxParallelism&#8203;(<a href="../Hop.html" title="class in org.apache.sysds.hops">Hop</a>&nbsp;hop,
int&nbsp;k)</pre>
</li>
</ul>
<a id="checkCPReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCPReblock</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;checkCPReblock&#8203;(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<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>&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 id="checkCPCheckpoint(org.apache.sysds.runtime.meta.DataCharacteristics)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCPCheckpoint</h4>
<pre class="methodSignature">public static&nbsp;boolean&nbsp;checkCPCheckpoint&#8203;(<a href="../../runtime/meta/DataCharacteristics.html" title="class in org.apache.sysds.runtime.meta">DataCharacteristics</a>&nbsp;dc)</pre>
</li>
</ul>
<a id="executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeInMemoryReblock</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;executeInMemoryReblock&#8203;(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<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>&nbsp;varin,
<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>&nbsp;varout)</pre>
</li>
</ul>
<a id="executeInMemoryReblock(org.apache.sysds.runtime.controlprogram.context.ExecutionContext,java.lang.String,java.lang.String,org.apache.sysds.runtime.lineage.LineageItem)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>executeInMemoryReblock</h4>
<pre class="methodSignature">public static&nbsp;void&nbsp;executeInMemoryReblock&#8203;(<a href="../../runtime/controlprogram/context/ExecutionContext.html" title="class in org.apache.sysds.runtime.controlprogram.context">ExecutionContext</a>&nbsp;ec,
<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>&nbsp;varin,
<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>&nbsp;varout,
<a href="../../runtime/lineage/LineageItem.html" title="class in org.apache.sysds.runtime.lineage">LineageItem</a>&nbsp;litem)</pre>
</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/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" 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><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 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>