[LLVMdev] hi, Hi, (Preccessors' Number) < MachineBasicBlock's Number < (Successors's Number), Is it really?
hbrenkun at yahoo.cn
Fri Dec 4 01:01:34 PST 2009
I am scaning MachineFunction to collect physical registers' define-use messages.
I have known llc provides dominance tree at MachineFunction level.
I don't confuse to MachineBasicBlock Loop at CFG.
So I don't need to use BasicBlock number messages.
Thanks for your answer.
--- 09年12月4日，周五, Bill Wendling <wendling at apple.com> 写道：
发件人: Bill Wendling <wendling at apple.com>
主题: Re: [LLVMdev] hi, Hi, (Preccessors' Number) < MachineBasicBlock's Number < (Successors's Number), Is it really?
收件人: "任坤" <hbrenkun at yahoo.cn>
抄送: "llvm" <llvmdev at cs.uiuc.edu>
On Dec 3, 2009, at 9:52 PM, 任坤 wrote:
> Hi, EveryOne:
> I am travelling CFG with MachineFunction. So I want to sure it.
> (Preccessors' Number) < MachineBasicBlock's Number < (Successors's Number), Is it really?
I can't say for sure, though I don't think we make assurances that this is the case. If you want to traverse the CFG, there should be better ways to perform this. What order do you want your traversal to go? Depth-first? Breadth-first? Other?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev