[LLVMdev] Depth First Sort of Machine Basic Blocks just before emitting code

John Mosby ojomojo at gmail.com
Mon Apr 13 16:58:55 PDT 2009


po_iterator (ADT/PostOrderIterator.h) ?

On Mon, Apr 13, 2009 at 5:40 PM, Daniel M Gessel <gessel at apple.com> wrote:

> That looks like it does a preorder depth first traversal (I think).
> I'm looking for postorder. Is there a trivial transform between the
> two? (I don't know one.)
>
> Am I wrong about the preorder/postorder? If not, anything lurking for
> postorder traversal?
>
> Thanks,
>
> Dan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090413/ed1bc061/attachment.html>


More information about the llvm-dev mailing list