[LLVMdev] MachineDominatorTree
Chris Lattner
sabre at nondot.org
Sun Dec 9 21:14:24 PST 2007
On Dec 9, 2007, at 9:08 PM, Fernando Magno Quintao Pereira wrote:
>
> Hi, guys,
>
> what is the interface for finding the immediate dominator of a
> machine
> basic block in LLVM 2.1? I found some methods to check if a node
> dominates
> other in llvm::MachineDominatorTree, but I was looking for something
> like:
> MachineBasicBlock * mbb = ...
> MachineBasicBlock * iDom = XXX->getImmediateDominator(mbb);
>
> is there something similar?
Hi Fernando,
The MachineDominator and MachineLoopInfo classes are new to SVN head.
Please try that instead of LLVM 2.1
-Chris
More information about the llvm-dev
mailing list