[DomTree] Add constructor to create a new DT based on current DT/CFG and a set of...
authorAlina Sbirlea <asbirlea@google.com>
Thu, 16 Aug 2018 21:54:33 +0000 (21:54 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Thu, 16 Aug 2018 21:54:33 +0000 (21:54 +0000)
commitd4b3f19ba6617c7aef8f538fa657bb6de7fc31f6
treebb617cb3e77e166c471816c01b8dc50502a14c4e
parent883ff69c9365a7eb2fb146f029bb33afcb98524b
[DomTree] Add constructor to create a new DT based on current DT/CFG and a set of Updates.

Summary:
Add the posibility of creating a new DT using a set of Updates.
This will essentially create a DT based on a CFG snapshot/view.

Additional refactoring for either this patch or follow-ups:
- create an utility for building BUI.
- replace BUI with a GraphDiff.

Reviewers: kuhar

Subscribers: sanjoy, jlebar, llvm-commits

Differential Revision: https://reviews.llvm.org/D50671

llvm-svn: 339947
llvm/include/llvm/IR/Dominators.h
llvm/include/llvm/Support/GenericDomTree.h
llvm/include/llvm/Support/GenericDomTreeConstruction.h
llvm/lib/IR/Dominators.cpp