|
clang 24.0.0git
|
#include "clang/CodeGenUtils/LoopAttributes.h"#include "clang/AST/ASTContext.h"#include "clang/AST/Attr.h"#include "clang/AST/Expr.h"#include "clang/Basic/CodeGenOptions.h"#include "llvm/Support/ErrorHandling.h"Go to the source code of this file.
Namespaces | |
| namespace | clang |
| Top level wrappers for InstallAPI frontend operations. | |
| namespace | clang::CodeGenUtils |
Functions | |
| void | clang::CodeGenUtils::updateLoopAttributes (LoopAttributes &Attrs, ASTContext &Ctx, const CodeGenOptions &CGOpts, llvm::ArrayRef< const Attr * > StmtAttrs, bool MustProgress) |
Update Attrs with the loop hints in StmtAttrs (#pragma clang loop, #pragma unroll, [[clang::code_align]], the OpenCL and HLSL spellings), the command line options that adjust every loop (-falign-loops and -fno-unroll-loops), and whether the loop must make progress. | |