Lines Matching defs:directive
1 //===-- OpenMP.cpp -- Open MP directive lowering --------------------------===//
36 #include "flang/Semantics/openmp-directive-sets.h"
361 /// Get the directive enumeration value corresponding to the given OpenMP
496 assert(beginClauseList && "expected begin directive");
503 // Return the directive that is immediately nested inside of the given
535 // representing an OpenMP directive that passes the given test.
831 /// 'declare target' directive and return the intended device type for them.
881 // directive is a function or subroutine
907 // directive is a function or subroutine
1060 /// [in] leaf directive for which to generate the op body.
1689 mlir::Location loc, llvm::omp::Directive directive,
1694 cp.processIf(directive, clauseOps);
1696 if (directive == llvm::omp::Directive::OMPD_target_update)
1851 llvm::omp::Directive directive, DataSharingProcessor &dsp) {
1862 directive)
2321 [[maybe_unused]] llvm::omp::Directive directive;
2323 directive = llvm::omp::Directive::OMPD_target_enter_data;
2325 directive = llvm::omp::Directive::OMPD_target_exit_data;
2327 directive = llvm::omp::Directive::OMPD_target_update;
2334 item->clauses, loc, directive, clauseOps);
2987 TODO(loc, "Unhandled directive " + llvm::omp::getOpenMPDirectiveName(dir));
3046 TODO(loc, "Unhandled loop directive (" +
3141 // The directive is lowered when instantiating the variable to
3162 const auto &directive = std::get<parser::OmpSimpleStandaloneDirective>(
3166 mlir::Location currentLocation = converter.genLocation(directive.source);
3170 eval, directive.source, directive.v, clauses)};
3171 if (directive.v == llvm::omp::Directive::OMPD_ordered) {
3172 // Standalone "ordered" directive.
3366 llvm::omp::Directive directive =
3372 eval, source, directive, clauses)};
3434 llvm::omp::Directive directive =
3440 eval, source, directive, clauses)};
3468 llvm::omp::Directive directive =
3474 eval, source, directive, clauses)};
3580 // Non-global variable which can be in threadprivate directive must be one
3629 // A non-global variable which can be in a declare target directive must