Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 6e204a966e8c42d976f99a1700ce5f20 > files > 3014

ghc-7.4.2-4.mga5.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>RegAlloc.Linear.StackMap</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_RegAlloc-Linear-StackMap.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">ghc-7.4.2: The GHC API</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">RegAlloc.Linear.StackMap</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The assignment of virtual registers to stack slots
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">type</span> <a href="#t:StackSlot">StackSlot</a> = <a href="../base-4.5.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">data</span>  <a href="#t:StackMap">StackMap</a>  = <a href="#v:StackMap">StackMap</a> {<ul class="subs"><li><a href="#v:stackMapFreeSlots">stackMapFreeSlots</a> :: [<a href="RegAlloc-Linear-StackMap.html#t:StackSlot">StackSlot</a>]</li><li><a href="#v:stackMapAssignment">stackMapAssignment</a> :: <a href="UniqFM.html#t:UniqFM">UniqFM</a> <a href="RegAlloc-Linear-StackMap.html#t:StackSlot">StackSlot</a></li></ul>}</li><li class="src short"><a href="#v:emptyStackMap">emptyStackMap</a> :: <a href="Platform.html#t:Platform">Platform</a> -&gt; <a href="RegAlloc-Linear-StackMap.html#t:StackMap">StackMap</a></li><li class="src short"><a href="#v:getStackSlotFor">getStackSlotFor</a> :: <a href="RegAlloc-Linear-StackMap.html#t:StackMap">StackMap</a> -&gt; <a href="Unique.html#t:Unique">Unique</a> -&gt; (<a href="RegAlloc-Linear-StackMap.html#t:StackMap">StackMap</a>, <a href="../base-4.5.1.0/Data-Int.html#t:Int">Int</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">type</span> <a name="t:StackSlot" class="def">StackSlot</a> = <a href="../base-4.5.1.0/Data-Int.html#t:Int">Int</a></p><div class="doc"><p>Identifier for a stack slot.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:StackMap" class="def">StackMap</a>  </p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:StackMap" class="def">StackMap</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:stackMapFreeSlots" class="def">stackMapFreeSlots</a> :: [<a href="RegAlloc-Linear-StackMap.html#t:StackSlot">StackSlot</a>]</dt><dd class="doc"><p>The slots that are still available to be allocated.
</p></dd><dt class="src"><a name="v:stackMapAssignment" class="def">stackMapAssignment</a> :: <a href="UniqFM.html#t:UniqFM">UniqFM</a> <a href="RegAlloc-Linear-StackMap.html#t:StackSlot">StackSlot</a></dt><dd class="doc"><p>Assignment of vregs to stack slots.
</p></dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:emptyStackMap" class="def">emptyStackMap</a> :: <a href="Platform.html#t:Platform">Platform</a> -&gt; <a href="RegAlloc-Linear-StackMap.html#t:StackMap">StackMap</a></p><div class="doc"><p>An empty stack map, with all slots available.
</p></div></div><div class="top"><p class="src"><a name="v:getStackSlotFor" class="def">getStackSlotFor</a> :: <a href="RegAlloc-Linear-StackMap.html#t:StackMap">StackMap</a> -&gt; <a href="Unique.html#t:Unique">Unique</a> -&gt; (<a href="RegAlloc-Linear-StackMap.html#t:StackMap">StackMap</a>, <a href="../base-4.5.1.0/Data-Int.html#t:Int">Int</a>)</p><div class="doc"><p>If this vreg unique already has a stack assignment then return the slot number,
	otherwise allocate a new slot, and update the map.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>