[LLVMdev] MachineDominatorTree

Fernando Magno Quintao Pereira fernando at CS.UCLA.EDU
Sun Dec 9 21:08:45 PST 2007

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?



More information about the llvm-dev mailing list