AArthur Eubanks[Passes] Remove some legacy passes
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Passes] Remove some legacy passes DFAJumpThreading JumpThreading LibCallsShrink LoopVectorize SLPVectorizer DeadStoreElimination AggressiveDCE CorrelatedValuePropagation IndVarSimplify These are part of the optimization pipeline, of which the legacy version is deprecated and being removed. | 3 年前 | |
[Polly] Mark classes as final by default. NFC. This make is obivious that a class was not intended to be derived from. NPM analysis pass can unfortunately not marked as final because they are derived from a llvm::Checker<T> template internally by the NPM. Also normalize the use of classes/structs * NPM passes are structs * Legacy passes are classes * structs that have methods and are not a visitor pattern are classes * structs have public inheritance by default, remove "public" keyword * Use typedef'ed type instead of inline forward declaration | 4 年前 | |
Remove redundaunt virtual specifiers (NFC) Identified with tidy-modernize-use-override. | 4 年前 | |
Remove unneeded cl::ZeroOrMore for cl::opt/cl::list options | 4 年前 | |
[Polly][Isl] Use the function unsignedFromIslSize to manage a isl::size object. NFCI This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in lib/External/isl/include/isl/isl-noxceptions.h and the official isl C++ interface. In the official interface the type isl::size cannot be casted to an unsigned without previously having checked if it contains a valid value with the function isl::size::is_error(). For this reason two helping functions have been added: - IslAssert: assert that no errors are present in debug builds and just disables the mandatory error check in non-debug builds - unisgnedFromIslSIze: cast the isl::size object to unsigned Changes made: - Add the functions IslAssert and unsignedFromIslSize - Add the utility function rangeIslSize() - Retype MaxDisjunctsInDomain from int to unsigned - Retype RunTimeChecksMaxAccessDisjuncts from int to unsigned - Retype MaxDimensionsInAccessRange from int to unsigned - Replaced some usages of isl_size to unsigned since we aim not to use isl_size anymore - isl-noexceptions.h has been generated by https://github.com/patacca/isl/commit/e704f73c88f0b4d88e62e447bdb732cf5914094b No functional change intended. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D113101 | 4 年前 | |
Remove redundaunt virtual specifiers (NFC) Identified with tidy-modernize-use-override. | 4 年前 | |
LLVM_FALLTHROUGH => [[fallthrough]]. NFC | 3 年前 | |
[polly] Use std::optional instead of llvm::Optional (NFC) This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 | 3 年前 | |
Remove unused #include "llvm/ADT/Optional.h" | 3 年前 | |
[Polly] Fix -Wreorder-ctor. NFC | 4 年前 | |
[Polly] Remove Polly-ACC. Polly-ACC is unmaintained and since it has never been ported to the NPM pipeline, since D136621 it is not even accessible anymore without manually specifying the passes on the opt command line. Since there is no plan to put it to a maintainable state, remove it from Polly. Reviewed By: grosser Differential Revision: https://reviews.llvm.org/D142580 | 3 年前 | |
[polly] Fixed a number of typos. NFC I went over the output of the following mess of a command: (ulimit -m 2000000; ulimit -v 2000000; git ls-files -z | parallel --xargs -0 cat | aspell list --mode=none --ignore-case | grep -E '^[A-Za-z][a-z]*$' | sort | uniq -c | sort -n | grep -vE '.{25}' | aspell pipe -W3 | grep : | cut -d' ' -f2 | less) and proceeded to spend a few days looking at it to find probable typos and fixed a few hundred of them in all of the llvm project (note, the ones I found are not anywhere near all of them, but it seems like a good start). Reviewed By: inclyc Differential Revision: https://reviews.llvm.org/D131167 | 3 年前 | |
[Polly] Mark classes as final by default. NFC. This make is obivious that a class was not intended to be derived from. NPM analysis pass can unfortunately not marked as final because they are derived from a llvm::Checker<T> template internally by the NPM. Also normalize the use of classes/structs * NPM passes are structs * Legacy passes are classes * structs that have methods and are not a visitor pattern are classes * structs have public inheritance by default, remove "public" keyword * Use typedef'ed type instead of inline forward declaration | 4 年前 | |
[polly] Use std::optional instead of llvm::Optional (NFC) This is part of an effort to migrate from llvm::Optional to std::optional: https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716 | 3 年前 | |
[Polly][Isl] Use the function unsignedFromIslSize to manage a isl::size object. NFCI This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in lib/External/isl/include/isl/isl-noxceptions.h and the official isl C++ interface. In the official interface the type isl::size cannot be casted to an unsigned without previously having checked if it contains a valid value with the function isl::size::is_error(). For this reason two helping functions have been added: - IslAssert: assert that no errors are present in debug builds and just disables the mandatory error check in non-debug builds - unisgnedFromIslSIze: cast the isl::size object to unsigned Changes made: - Add the functions IslAssert and unsignedFromIslSize - Add the utility function rangeIslSize() - Retype MaxDisjunctsInDomain from int to unsigned - Retype RunTimeChecksMaxAccessDisjuncts from int to unsigned - Retype MaxDimensionsInAccessRange from int to unsigned - Replaced some usages of isl_size to unsigned since we aim not to use isl_size anymore - isl-noexceptions.h has been generated by https://github.com/patacca/isl/commit/e704f73c88f0b4d88e62e447bdb732cf5914094b No functional change intended. Reviewed By: Meinersbur Differential Revision: https://reviews.llvm.org/D113101 | 4 年前 |