[all-commits] [llvm/llvm-project] 76c5cb: DomTree: Remove getChildren() accessor
Nicolai Hähnle via All-commits
all-commits at lists.llvm.org
Mon Jul 6 12:58:32 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 76c5cb05a3a67340cc7950eb8fb5c2d2a0ac4554
https://github.com/llvm/llvm-project/commit/76c5cb05a3a67340cc7950eb8fb5c2d2a0ac4554
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/lib/CodeGen/EarlyIfConversion.cpp
M llvm/lib/CodeGen/InlineSpiller.cpp
M llvm/lib/CodeGen/MachineCSE.cpp
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
M llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
M llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
M llvm/lib/Transforms/Utils/LoopUnroll.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
Log Message:
-----------
DomTree: Remove getChildren() accessor
Summary:
Avoid exposing details about how children are stored. This will enable
subsequent type-erasure changes.
New methods are introduced to cover common access patterns.
Change-Id: Idb5f4b1b9c84e4cc71ddb39bb52a388682f5674f
Reviewers: arsenm, RKSimon, mehdi_amini, courbet
Subscribers: qcolombet, sdardis, wdng, hiraditya, jrtc27, zzheng, atanasyan, asbirlea, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83083
Commit: 723a44c9b5d654ec791720fc450757ae00f9e631
https://github.com/llvm/llvm-project/commit/723a44c9b5d654ec791720fc450757ae00f9e631
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M clang/include/clang/Analysis/Analyses/Dominators.h
M llvm/include/llvm/Analysis/PostDominators.h
M llvm/include/llvm/IR/Dominators.h
M llvm/include/llvm/Support/GenericDomTree.h
Log Message:
-----------
DomTree: Remove the releaseMemory() method
Summary:
It is fully redundant with reset().
Change-Id: I25850b9f08eace757cf03cbb8780e970aca7f51a
Reviewers: arsenm, RKSimon, mehdi_amini, courbet
Subscribers: wdng, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D83084
Commit: dfcc68c528269a3e0b1cbe7ef22cc92cdfdf7eba
https://github.com/llvm/llvm-project/commit/dfcc68c528269a3e0b1cbe7ef22cc92cdfdf7eba
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M llvm/include/llvm/Analysis/DominanceFrontier.h
M llvm/include/llvm/CodeGen/MachineDominators.h
M llvm/include/llvm/CodeGen/MachinePostDominators.h
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
M llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/unittests/IR/DominatorTreeTest.cpp
Log Message:
-----------
DomTree: Remove getRoots() accessor
Summary:
Avoid exposing details about how roots are stored. This enables subsequent
type-erasure changes.
v5:
- cleanup a unit test by using EXPECT_EQ instead of EXPECT_TRUE
Change-Id: I532b774cc71f2224e543bc7d79131d97f63f093d
Reviewers: arsenm, RKSimon, mehdi_amini, courbet
Subscribers: jvesely, wdng, hiraditya, kuhar, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83085
Commit: f987ba3cf9af1a2fa168c5a707863b28efd61d73
https://github.com/llvm/llvm-project/commit/f987ba3cf9af1a2fa168c5a707863b28efd61d73
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M llvm/include/llvm/Support/GenericDomTree.h
M llvm/include/llvm/Support/GenericDomTreeConstruction.h
Log Message:
-----------
DomTree: add private create{Child,Node} helpers
Summary:
Aside from unifying the code a bit, this change smooths the
transition to use of future "opaque generic block references"
in the type-erased dominator tree base class.
Change-Id: If924b092cc8561c4b6a7450fe79bc96df0e12472
Reviewers: arsenm, RKSimon, mehdi_amini, courbet
Subscribers: wdng, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D83086
Compare: https://github.com/llvm/llvm-project/compare/16d83c395a1f...f987ba3cf9af
More information about the All-commits
mailing list