mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 20:06:20 +00:00
6720a089fd
Summary: Without this patch, clang-format in check-polly fails for me, with current master: ``` FAILED: cd build/tools/polly && build/bin/clang-format -sort-includes -style=llvm llvm/tools/polly/include/polly/ScopPass.h | diff -u llvm/tools/polly/include/polly/ScopPass.h - --- llvm/tools/polly/include/polly/ScopPass.h 2017-11-06 14:05:49.885345000 +0000 +++ - 2017-11-06 14:07:24.956241758 +0000 @@ -40,12 +40,12 @@ } // namespace polly namespace llvm { +using polly::SPMUpdater; using polly::Scop; using polly::ScopAnalysisManager; using polly::ScopAnalysisManagerFunctionProxy; using polly::ScopInfo; using polly::ScopStandardAnalysisResults; -using polly::SPMUpdater; template <> class InnerAnalysisManagerProxy<ScopAnalysisManager, Function>::Result { ``` Reviewers: grosser, Meinersbur, bollu Reviewed By: Meinersbur Subscribers: llvm-commits, pollydev Differential Revision: https://reviews.llvm.org/D39683 llvm-svn: 317478
Polly - Polyhedral optimizations for LLVM ----------------------------------------- http://polly.llvm.org/ Polly uses a mathematical representation, the polyhedral model, to represent and transform loops and other control flow structures. Using an abstract representation it is possible to reason about transformations in a more general way and to use highly optimized linear programming libraries to figure out the optimal loop structure. These transformations can be used to do constant propagation through arrays, remove dead loop iterations, optimize loops for cache locality, optimize arrays, apply advanced automatic parallelization, drive vectorization, or they can be used to do software pipelining.