Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > da2ed07af0cf0f424d74f4cc6829a27c > files > 1058

ghc-ghc-devel-6.12.3-8.6.fc14.i686.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>RegAlloc.Linear.JoinToTargets</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock-util.js" TYPE="text/javascript"
></SCRIPT
><SCRIPT TYPE="text/javascript"
>window.onload = function () {setSynopsis("mini_RegAlloc-Linear-JoinToTargets.html")};</SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>ghc-6.12.3: The GHC API</TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>RegAlloc.Linear.JoinToTargets</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
>Handles joining of a jump instruction to its targets.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3AjoinToTargets"
>joinToTargets</A
> :: <A HREF="Instruction.html#t%3AInstruction"
>Instruction</A
> instr =&gt; <A HREF="RegAlloc-Liveness.html#t%3ABlockMap"
>BlockMap</A
> <A HREF="RegAlloc-Liveness.html#t%3ARegSet"
>RegSet</A
> -&gt; <A HREF="BlockId.html#t%3ABlockId"
>BlockId</A
> -&gt; instr -&gt; <A HREF="RegAlloc-Linear-Base.html#t%3ARegM"
>RegM</A
> ([<A HREF="Instruction.html#t%3ANatBasicBlock"
>NatBasicBlock</A
> instr], instr)</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v:joinToTargets"
><A NAME="v%3AjoinToTargets"
></A
></A
><B
>joinToTargets</B
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: <A HREF="Instruction.html#t%3AInstruction"
>Instruction</A
> instr</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; <A HREF="RegAlloc-Liveness.html#t%3ABlockMap"
>BlockMap</A
> <A HREF="RegAlloc-Liveness.html#t%3ARegSet"
>RegSet</A
></TD
><TD CLASS="rdoc"
>maps the unique of the blockid to the set of vregs 
	that are known to be live on the entry to each block.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="BlockId.html#t%3ABlockId"
>BlockId</A
></TD
><TD CLASS="rdoc"
>id of the current block
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; instr</TD
><TD CLASS="rdoc"
>branch instr on the end of the source block.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="RegAlloc-Linear-Base.html#t%3ARegM"
>RegM</A
> ([<A HREF="Instruction.html#t%3ANatBasicBlock"
>NatBasicBlock</A
> instr], instr)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>For a jump instruction at the end of a block, generate fixup code so its
	vregs are in the correct regs for its destination.
</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 2.6.1</TD
></TR
></TABLE
></BODY
></HTML
>