[LLVMdev] Dminator set question

John Criswell criswell at illinois.edu
Wed Oct 17 08:27:25 PDT 2012


On 10/17/12 8:14 AM, 徐偉哲 wrote:
> How can I get the dominator set for each basicblock in a function

LLVM has a DominatorTree analysis pass that might be useful: 
http://llvm.org/doxygen/classllvm_1_1DominatorTree.html

I also recall an actual Dominator analysis pass in previous versions of 
LLVM, but I'm unsure if it still exists in mainline LLVM.  I think it 
was replaced by some new facility in the VMCore library.

-- John T.



>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121017/e46bbc7a/attachment.html>


More information about the llvm-dev mailing list