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
> basic block in LLVM 2.1? I found some methods to check if a node
> other in llvm::MachineDominatorTree, but I was looking for something
> MachineBasicBlock * mbb = ...
> MachineBasicBlock * iDom = XXX->getImmediateDominator(mbb);
> is there something similar?
The MachineDominator and MachineLoopInfo classes are new to SVN head.
Please try that instead of LLVM 2.1
More information about the llvm-dev