9#include "../ClangTidy.h"
10#include "../ClangTidyModule.h"
11#include "../ClangTidyModuleRegistry.h"
27 "altera-id-dependent-backward-branch");
29 "altera-kernel-name-restriction");
31 "altera-single-work-item-barrier");
33 "altera-struct-pack-align");
41static ClangTidyModuleRegistry::Add<altera::AlteraModule>
42 X(
"altera-module",
"Adds Altera FPGA OpenCL lint checks.");
A collection of ClangTidyCheckFactory instances.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
Finds ID-dependent variables and fields used within loops, and warns of their usage.
Finds kernel files and include directives whose filename is kernel.cl, Verilog.cl,...
Detects OpenCL kernel functions that call a barrier but do not call an ID-function function.
Finds structs that are inefficiently packed or aligned, and recommends packing and/or aligning of sai...
Finds inner loops that have not been unrolled, as well as fully unrolled loops with unknown loop boun...
volatile int AlteraModuleAnchorSource