Sophie

Sophie

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

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.Graph.Main</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-Graph-Main.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.Graph.Main</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Description</TD
></TR
><TR
><TD CLASS="doc"
><P
>Graph coloring register allocator.
</P
><P
>TODO: The colors in graphviz graphs for x86_64 and ppc could be nicer.
</P
></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%3AregAlloc"
>regAlloc</A
> :: (<A HREF="Outputable.html#t%3AOutputable"
>Outputable</A
> instr, <A HREF="Instruction.html#t%3AInstruction"
>Instruction</A
> instr) =&gt; <A HREF="DynFlags.html#t%3ADynFlags"
>DynFlags</A
> -&gt; <A HREF="UniqFM.html#t%3AUniqFM"
>UniqFM</A
> (<A HREF="UniqSet.html#t%3AUniqSet"
>UniqSet</A
> <A HREF="Reg.html#t%3ARealReg"
>RealReg</A
>) -&gt; <A HREF="UniqSet.html#t%3AUniqSet"
>UniqSet</A
> <A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
> -&gt; [<A HREF="RegAlloc-Liveness.html#t%3ALiveCmmTop"
>LiveCmmTop</A
> instr] -&gt; <A HREF="UniqSupply.html#t%3AUniqSM"
>UniqSM</A
> ([<A HREF="Instruction.html#t%3ANatCmmTop"
>NatCmmTop</A
> instr], [<A HREF="RegAlloc-Graph-Stats.html#t%3ARegAllocStats"
>RegAllocStats</A
> 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:regAlloc"
><A NAME="v%3AregAlloc"
></A
></A
><B
>regAlloc</B
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="arg"
>:: (<A HREF="Outputable.html#t%3AOutputable"
>Outputable</A
> instr, <A HREF="Instruction.html#t%3AInstruction"
>Instruction</A
> instr)</TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>=&gt; <A HREF="DynFlags.html#t%3ADynFlags"
>DynFlags</A
></TD
><TD CLASS="rdoc"
></TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="UniqFM.html#t%3AUniqFM"
>UniqFM</A
> (<A HREF="UniqSet.html#t%3AUniqSet"
>UniqSet</A
> <A HREF="Reg.html#t%3ARealReg"
>RealReg</A
>)</TD
><TD CLASS="rdoc"
>the registers we can use for allocation
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="UniqSet.html#t%3AUniqSet"
>UniqSet</A
> <A HREF="../base-4.2.0.2/Data-Int.html#t%3AInt"
>Int</A
></TD
><TD CLASS="rdoc"
>the set of available spill slots.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; [<A HREF="RegAlloc-Liveness.html#t%3ALiveCmmTop"
>LiveCmmTop</A
> instr]</TD
><TD CLASS="rdoc"
>code annotated with liveness information.
</TD
></TR
><TR
><TD CLASS="arg"
>-&gt; <A HREF="UniqSupply.html#t%3AUniqSM"
>UniqSM</A
> ([<A HREF="Instruction.html#t%3ANatCmmTop"
>NatCmmTop</A
> instr], [<A HREF="RegAlloc-Graph-Stats.html#t%3ARegAllocStats"
>RegAllocStats</A
> instr])</TD
><TD CLASS="rdoc"
>code with registers allocated and stats for each stage of
 allocation
</TD
></TR
><TR
><TD CLASS="ndoc" COLSPAN="2"
>The top level of the graph coloring register allocator.
</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
>