Lines Matching refs:Directive
113 class AccAttributeVisitor : DirectiveAttributeVisitor<llvm::acc::Directive> {
233 class OmpAttributeVisitor : DirectiveAttributeVisitor<llvm::omp::Directive> {
318 PushContext(x.source, llvm::omp::Directive::OMPD_declare_simd); in Pre()
516 bool IsNestedInDirective(llvm::omp::Directive directive);
599 case llvm::acc::Directive::ACCD_data: in Pre()
600 case llvm::acc::Directive::ACCD_host_data: in Pre()
601 case llvm::acc::Directive::ACCD_kernels: in Pre()
602 case llvm::acc::Directive::ACCD_parallel: in Pre()
603 case llvm::acc::Directive::ACCD_serial: in Pre()
618 PushContext(declDir.source, llvm::acc::Directive::ACCD_declare); in Pre()
622 PushContext(verbatim.source, llvm::acc::Directive::ACCD_routine); in Pre()
686 if (loopDir.v == llvm::acc::Directive::ACCD_loop) { in Pre()
698 case llvm::acc::Directive::ACCD_enter_data: in Pre()
699 case llvm::acc::Directive::ACCD_exit_data: in Pre()
700 case llvm::acc::Directive::ACCD_init: in Pre()
701 case llvm::acc::Directive::ACCD_set: in Pre()
702 case llvm::acc::Directive::ACCD_shutdown: in Pre()
703 case llvm::acc::Directive::ACCD_update: in Pre()
749 case llvm::acc::Directive::ACCD_kernels_loop: in Pre()
750 case llvm::acc::Directive::ACCD_parallel_loop: in Pre()
751 case llvm::acc::Directive::ACCD_serial_loop: in Pre()
830 PushContext(verbatim.source, llvm::acc::Directive::ACCD_cache); in Pre()
1092 case llvm::omp::Directive::OMPD_master: in Pre()
1093 case llvm::omp::Directive::OMPD_ordered: in Pre()
1094 case llvm::omp::Directive::OMPD_parallel: in Pre()
1095 case llvm::omp::Directive::OMPD_single: in Pre()
1096 case llvm::omp::Directive::OMPD_target: in Pre()
1097 case llvm::omp::Directive::OMPD_target_data: in Pre()
1098 case llvm::omp::Directive::OMPD_task: in Pre()
1099 case llvm::omp::Directive::OMPD_taskgroup: in Pre()
1100 case llvm::omp::Directive::OMPD_teams: in Pre()
1101 case llvm::omp::Directive::OMPD_workshare: in Pre()
1102 case llvm::omp::Directive::OMPD_parallel_workshare: in Pre()
1103 case llvm::omp::Directive::OMPD_target_teams: in Pre()
1104 case llvm::omp::Directive::OMPD_target_parallel: in Pre()
1121 case llvm::omp::Directive::OMPD_parallel: in Post()
1122 case llvm::omp::Directive::OMPD_single: in Post()
1123 case llvm::omp::Directive::OMPD_target: in Post()
1124 case llvm::omp::Directive::OMPD_task: in Post()
1125 case llvm::omp::Directive::OMPD_teams: in Post()
1126 case llvm::omp::Directive::OMPD_parallel_workshare: in Post()
1127 case llvm::omp::Directive::OMPD_target_teams: in Post()
1128 case llvm::omp::Directive::OMPD_target_parallel: { in Post()
1160 case llvm::omp::Directive::OMPD_barrier: in Pre()
1161 case llvm::omp::Directive::OMPD_ordered: in Pre()
1162 case llvm::omp::Directive::OMPD_target_enter_data: in Pre()
1163 case llvm::omp::Directive::OMPD_target_exit_data: in Pre()
1164 case llvm::omp::Directive::OMPD_target_update: in Pre()
1165 case llvm::omp::Directive::OMPD_taskwait: in Pre()
1166 case llvm::omp::Directive::OMPD_taskyield: in Pre()
1181 case llvm::omp::Directive::OMPD_distribute: in Pre()
1182 case llvm::omp::Directive::OMPD_distribute_parallel_do: in Pre()
1183 case llvm::omp::Directive::OMPD_distribute_parallel_do_simd: in Pre()
1184 case llvm::omp::Directive::OMPD_distribute_simd: in Pre()
1185 case llvm::omp::Directive::OMPD_do: in Pre()
1186 case llvm::omp::Directive::OMPD_do_simd: in Pre()
1187 case llvm::omp::Directive::OMPD_parallel_do: in Pre()
1188 case llvm::omp::Directive::OMPD_parallel_do_simd: in Pre()
1189 case llvm::omp::Directive::OMPD_simd: in Pre()
1190 case llvm::omp::Directive::OMPD_target_parallel_do: in Pre()
1191 case llvm::omp::Directive::OMPD_target_parallel_do_simd: in Pre()
1192 case llvm::omp::Directive::OMPD_target_teams_distribute: in Pre()
1193 case llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do: in Pre()
1194 case llvm::omp::Directive::OMPD_target_teams_distribute_parallel_do_simd: in Pre()
1195 case llvm::omp::Directive::OMPD_target_teams_distribute_simd: in Pre()
1196 case llvm::omp::Directive::OMPD_target_simd: in Pre()
1197 case llvm::omp::Directive::OMPD_taskloop: in Pre()
1198 case llvm::omp::Directive::OMPD_taskloop_simd: in Pre()
1199 case llvm::omp::Directive::OMPD_teams_distribute: in Pre()
1200 case llvm::omp::Directive::OMPD_teams_distribute_parallel_do: in Pre()
1201 case llvm::omp::Directive::OMPD_teams_distribute_parallel_do_simd: in Pre()
1202 case llvm::omp::Directive::OMPD_teams_distribute_simd: in Pre()
1211 if (beginDir.v == llvm::omp::Directive::OMPD_do) { in Pre()
1371 case llvm::omp::Directive::OMPD_parallel_sections: in Pre()
1372 case llvm::omp::Directive::OMPD_sections: in Pre()
1385 PushContext(beginCriticalDir.source, llvm::omp::Directive::OMPD_critical); in Pre()
1398 PushContext(x.source, llvm::omp::Directive::OMPD_threadprivate); in Pre()
1405 PushContext(x.source, llvm::omp::Directive::OMPD_allocate); in Pre()
1412 PushContext(x.source, llvm::omp::Directive::OMPD_allocate); in Pre()
1439 bool OmpAttributeVisitor::IsNestedInDirective(llvm::omp::Directive directive) { in IsNestedInDirective()
1461 if (IsNestedInDirective(llvm::omp::Directive::OMPD_target) && !hasAllocator) { in Post()
1762 GetContext().directive == llvm::omp::Directive::OMPD_single) { in CheckDataCopyingClause()