================
@@ -10,12 +10,57 @@
//
//===----------------------------------------------------------------------===//
-#include "clang/AST/ASTContext.h"
#include "clang/AST/StmtOpenMP.h"
+#include "clang/AST/ASTContext.h"
+#include "clang/AST/Attr.h"
+#include "clang/AST/Stmt.h"
using namespace clang;
using namespace llvm::omp;
+/// Returns true if the attributed statement carries the internal `omp tile`
+/// intra-tile reinterpretation hint (see OMPInvariantPredicateBoundAttr).
+static bool hasOMPInvariantPredicateBound(const AttributedStmt *AS) {
----------------
Meinersbur wrote:
Consider using
`getSpecificAttr<OMPInvariantPredicateBoundAttr>(AS->getAttrs())` instead of
these helpers.
https://github.com/llvm/llvm-project/pull/191114
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits