[PATCH] D72235: [clang-tidy] new altera unroll loops check
Frank Derry Wanye via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 5 16:16:17 PST 2020
ffrankies created this revision.
ffrankies added reviewers: aaron.ballman, hokein, alexfh.
ffrankies added projects: clang-tools-extra, clang, LLVM.
Herald added subscribers: mgehre, arphaman, zzheng, xazax.hun, Anastasia, mgorny.
ffrankies updated this revision to Diff 236270.
ffrankies updated this revision to Diff 236271.
This lint check is a part of the FLOCL (FPGA Linters for OpenCL) project out of the Synergy Lab at Virginia Tech.
FLOCL is a set of lint checks aimed at FPGA developers who write code in OpenCL.
The altera unroll loops check finds inner loops that have not been unrolled, as well as fully-unrolled loops that should be partially unrolled due to unknown loop bounds or a large number of loop iterations.
Based on the Altera SDK for OpenCL: Best Practices Guide
https://reviews.llvm.org/D72235
Files:
clang-tidy/CMakeLists.txt
clang-tidy/ClangTidyForceLinker.h
clang-tidy/altera/AlteraTidyModule.cpp
clang-tidy/altera/CMakeLists.txt
clang-tidy/altera/UnrollLoopsCheck.cpp
clang-tidy/altera/UnrollLoopsCheck.h
docs/ReleaseNotes.rst
docs/clang-tidy/checks/altera-unroll-loops.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/index.rst
test/clang-tidy/checkers/altera-unroll-loops.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72235.236271.patch
Type: text/x-patch
Size: 30014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200106/eda9c1bf/attachment-0001.bin>
More information about the cfe-commits
mailing list