Lines Matching defs:directive

49         : directiveSource{source}, directive{d}, scope{s} {}
51 T directive;
120 UnorderedSymbolSet dataSharingAttributeObjects_; // on one directive
729 std::vector<const parser::Name *> allocateNames_; // on one directive
730 UnorderedSymbolSet privateDataSharingAttributeObjects_; // on one directive
757 bool IsNestedInDirective(llvm::omp::Directive directive);
1200 "Only array element or subarray are allowed in %s directive"_err_en_US,
1203 GetContext().directive)
1209 "Only array element or subarray are allowed in %s directive"_err_en_US,
1211 llvm::acc::getOpenACCDirectiveName(GetContext().directive)
1229 "directive"_err_en_US,
1232 GetContext().directive)
1253 "directive"_err_en_US,
1255 llvm::acc::getOpenACCDirectiveName(GetContext().directive)
1274 // 2.10 Cache directive restriction: A var in a cache directive must be a
1315 // It is allowed to have a compiler directive associated with the loop.
1324 "LOOP directive not expected in COLLAPSE loop nest"_err_en_US);
1513 "in which the OpenACC directive or clause appears"_err_en_US);
1544 if (GetContext().directive == llvm::acc::ACCD_declare) {
1564 "on the same OpenACC directive"_err_en_US,
1638 "data-sharing attribute clause on the same directive"_err_en_US,
1750 if (llvm::omp::allParallelSet.test(targetIt->directive) ||
1751 llvm::omp::taskGeneratingSet.test(targetIt->directive)) {
1874 if (!llvm::omp::allSimdSet.test(GetContext().directive)) {
1902 "A DO loop must follow the %s directive"_err_en_US,
1904 llvm::omp::getOpenMPDirectiveName(GetContext().directive).str()));
2044 bool OmpAttributeVisitor::IsNestedInDirective(llvm::omp::Directive directive) {
2047 if (dirContext_[i - 1].directive == directive) {
2068 // directive with the dynamic_allocators clause is present
2107 // TODO: As with allocate directive, exclude the case when a requires
2108 // directive with the dynamic_allocators clause is present in
2220 bool taskGenDir = llvm::omp::taskGeneratingSet.test(dirContext.directive);
2221 bool targetDir = llvm::omp::allTargetSet.test(dirContext.directive);
2222 bool parallelDir = llvm::omp::allParallelSet.test(dirContext.directive);
2223 bool teamsDir = llvm::omp::allTeamsSet.test(dirContext.directive);
2422 GetContext().directive)
2445 "List items specified in the ALLOCATE directive must not "
2446 "have the ALLOCATABLE attribute unless the directive is "
2455 "in which the %s directive appears"_err_en_US,
2458 GetContext().directive)
2482 "directive"_err_en_US,
2486 if (GetContext().directive ==
2491 if (llvm::omp::allDistributeSet.test(GetContext().directive)) {
2495 if (llvm::omp::allTargetSet.test(GetContext().directive)) {
2518 // For OMP TARGET TEAMS directive some sharing attribute
2520 if (!(llvm::omp::allTeamsSet.test(GetContext().directive) ||
2522 GetContext().directive))) {
2570 "in which the OpenMP directive or clause appears"_err_en_US);
2634 "on the same OpenMP directive"_err_en_US,
2801 GetContext().directive == llvm::omp::Directive::OMPD_single) {
2881 .Attach(target, "In the enclosing %s directive branched into"_en_US,
2883 llvm::omp::getOpenMPDirectiveName(targetContext->directive)
2894 .Attach(target, "Outside the enclosing %s directive"_en_US,
2896 llvm::omp::getOpenMPDirectiveName(sourceContext->directive)
2930 "Object '%s' in %s directive not "
2934 llvm::omp::getOpenMPDirectiveName(GetContext().directive).str()));
2980 warnStrOS << "OpenMP directive "