Immediate dominator

Dear LLVMers,

     given a machine basic block mbb, is there a simple code to get mbb's immediate dominator? I mean, something like x.getImmediateDominator(mbb)?

Thanks,

Fernando