[LLVMdev] A way to traverse machine basic blocks in order?

Villmow, Micah Micah.Villmow at amd.com
Tue Nov 23 18:21:29 PST 2010


I'm looking for a way to traverse machine basic blocks in a specific order.
Basically I want all blocks that are predecessors to the current block to be traversed before the current block.  I've looked at MachineDominatorTree but this doesn't traverse them in quite the way I want them to. Anyone know of a way to do this?

Thanks,
Micah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101123/1cdb0f59/attachment.html>


More information about the llvm-dev mailing list