<!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 => <A HREF="RegAlloc-Liveness.html#t%3ABlockMap" >BlockMap</A > <A HREF="RegAlloc-Liveness.html#t%3ARegSet" >RegSet</A > -> <A HREF="BlockId.html#t%3ABlockId" >BlockId</A > -> instr -> <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" >=> <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" >-> <A HREF="BlockId.html#t%3ABlockId" >BlockId</A ></TD ><TD CLASS="rdoc" >id of the current block </TD ></TR ><TR ><TD CLASS="arg" >-> instr</TD ><TD CLASS="rdoc" >branch instr on the end of the source block. </TD ></TR ><TR ><TD CLASS="arg" >-> <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 >