<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/17/12 8:14 AM, 徐偉哲 wrote:<br>
</div>
<blockquote
cite="mid:CADK2K=623GhZ_CyhyD4=Qkw63H_vzGOP7h7AcgFs26mtUPzJLA@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
How can I get the dominator set for each basicblock in a function
<br>
</blockquote>
<br>
LLVM has a DominatorTree analysis pass that might be useful:
<a class="moz-txt-link-freetext" href="http://llvm.org/doxygen/classllvm_1_1DominatorTree.html">http://llvm.org/doxygen/classllvm_1_1DominatorTree.html</a><br>
<br>
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.<br>
<br>
-- John T.<br>
<br>
<br>
<br>
<blockquote
cite="mid:CADK2K=623GhZ_CyhyD4=Qkw63H_vzGOP7h7AcgFs26mtUPzJLA@mail.gmail.com"
type="cite">
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
</body>
</html>