[GraphDiff] Use class method getChildren instead of GraphTraits.
authorAlina Sbirlea <asbirlea@google.com>
Thu, 16 Jul 2020 22:46:54 +0000 (15:46 -0700)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 27 Jul 2020 23:12:34 +0000 (16:12 -0700)
commitf1d4db4f0cdcbfeaee0840bf8a4fb5dc1b9b56fd
treedf6fc1f5ce0dc42722715f4bc66fe3b9bf13b935
parent5f802be4e554f4eeb2c2c4137bed91b5b4ae740e
[GraphDiff] Use class method getChildren instead of GraphTraits.

Summary:
Use getChildren() method in GraphDiff instead of GraphTraits.

This simplifies the code and allows for refactorigns inside GraphDiff.
All usecase need not have a light-weight/copyable range.
Clean GraphTraits implementation.

Reviewers: dblaikie

Subscribers: hiraditya, llvm-commits, george.burgess.iv

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D84562
llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
llvm/include/llvm/Analysis/MemorySSAUpdater.h
llvm/include/llvm/Support/CFGDiff.h
llvm/lib/Analysis/MemorySSAUpdater.cpp