llvm::PostDominatorTree::setNewRoot

Add a new node to the forward dominator tree and make it a new root.

Synopsis

Declared in <llvm/Support/GenericDomTree.h>

DomTreeNodeBase<BasicBlock>*
setNewRoot(BasicBlock* BB);

Return Value

New dominator tree node that represents new CFG node.

Parameters

NameDescription
BBNew node in CFG.