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
Paths
| Differential D83083
DomTree: Remove getChildren() accessor ClosedPublic Authored by nhaehnle on Jul 2 2020, 2:06 PM.
Details Summary Avoid exposing details about how children are stored. This will enable New methods are introduced to cover common access patterns. Change-Id: Idb5f4b1b9c84e4cc71ddb39bb52a388682f5674f
Diff Detail
Event Timelinenhaehnle added a child revision: D83084: DomTree: Remove the releaseMemory() method.Jul 2 2020, 2:10 PM This revision is now accepted and ready to land.Jul 2 2020, 6:26 PM Closed by commit rG76c5cb05a3a6: DomTree: Remove getChildren() accessor (authored by nhaehnle). · Explain WhyJul 6 2020, 12:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 275225 llvm/include/llvm/Support/GenericDomTree.h
llvm/include/llvm/Support/GenericDomTreeConstruction.h
llvm/lib/CodeGen/EarlyIfConversion.cpp
llvm/lib/CodeGen/InlineSpiller.cpp
llvm/lib/CodeGen/MachineCSE.cpp
llvm/lib/CodeGen/MachineLICM.cpp
llvm/lib/CodeGen/MachineSink.cpp
llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp
llvm/lib/Target/Mips/MipsOptimizePICCall.cpp
llvm/lib/Transforms/Scalar/ConstantHoisting.cpp
llvm/lib/Transforms/Scalar/NewGVN.cpp
llvm/lib/Transforms/Utils/LoopSimplify.cpp
llvm/lib/Transforms/Utils/LoopUnroll.cpp
llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
llvm/lib/Transforms/Utils/LoopUtils.cpp
|
clang-format not found in user's PATH; not linting file.