clang 24.0.0git
LoopAttributes.h File Reference
#include "llvm/ADT/ArrayRef.h"

Go to the source code of this file.

Classes

struct  clang::CodeGenUtils::LoopAttributes
 Attributes that may be specified on loops. More...

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.