forked from OSchip/llvm-project
d07c90e395
This revision takes the forward value propagation engine in SCCP and refactors it into a more generalized forward dataflow analysis framework. This framework allows for propagating information about values across the various control flow constructs in MLIR, and removes the need for users to reinvent the traversal (often not as completely). There are a few aspects of the traversal, that were conservative for SCCP, that should be relaxed to support the needs of different value analyses. To keep this revision simple, these conservative behaviors will be left in (Note that this won't produce an incorrect result, but may produce more conservative results than necessary in certain edge cases. e.g. region entry arguments for non-region branch interface operations). The framework also only focuses on computing lattices for values, given the SCCP origins, but this is something to relax as needed in the future. Given that this logic is already in SCCP, a majority of this commit is NFC. The more interesting parts are the interface glue that clients interact with. Differential Revision: https://reviews.llvm.org/D100915 |
||
---|---|---|
.. | ||
Utils | ||
BufferDeallocation.cpp | ||
BufferOptimizations.cpp | ||
BufferResultsToOutParams.cpp | ||
BufferUtils.cpp | ||
Bufferize.cpp | ||
CMakeLists.txt | ||
CSE.cpp | ||
Canonicalizer.cpp | ||
Inliner.cpp | ||
LocationSnapshot.cpp | ||
LoopCoalescing.cpp | ||
LoopFusion.cpp | ||
LoopInvariantCodeMotion.cpp | ||
MemRefDataFlowOpt.cpp | ||
NormalizeMemRefs.cpp | ||
OpStats.cpp | ||
ParallelLoopCollapsing.cpp | ||
PassDetail.h | ||
PipelineDataTransfer.cpp | ||
SCCP.cpp | ||
StripDebugInfo.cpp | ||
SymbolDCE.cpp | ||
ViewOpGraph.cpp | ||
ViewRegionGraph.cpp |