reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/AST/OpenMPClause.cpp
 1163   OS << "if(";
 1165     OS << getOpenMPDirectiveName(Node->getNameModifier()) << ": ";
 1166   Node->getCondition()->printPretty(OS, nullptr, Policy, 0);
 1167   OS << ")";
 1171   OS << "final(";
 1172   Node->getCondition()->printPretty(OS, nullptr, Policy, 0);
 1173   OS << ")";
 1177   OS << "num_threads(";
 1178   Node->getNumThreads()->printPretty(OS, nullptr, Policy, 0);
 1179   OS << ")";
 1183   OS << "safelen(";
 1184   Node->getSafelen()->printPretty(OS, nullptr, Policy, 0);
 1185   OS << ")";
 1189   OS << "simdlen(";
 1190   Node->getSimdlen()->printPretty(OS, nullptr, Policy, 0);
 1191   OS << ")";
 1195   OS << "allocator(";
 1196   Node->getAllocator()->printPretty(OS, nullptr, Policy, 0);
 1197   OS << ")";
 1201   OS << "collapse(";
 1202   Node->getNumForLoops()->printPretty(OS, nullptr, Policy, 0);
 1203   OS << ")";
 1207   OS << "default("
 1213   OS << "proc_bind("
 1219   OS << "unified_address";
 1224   OS << "unified_shared_memory";
 1228   OS << "reverse_offload";
 1233   OS << "dynamic_allocators";
 1238   OS << "atomic_default_mem_order("
 1245   OS << "schedule(";
 1247     OS << getOpenMPSimpleClauseTypeName(OMPC_schedule,
 1250       OS << ", ";
 1251       OS << getOpenMPSimpleClauseTypeName(OMPC_schedule,
 1254     OS << ": ";
 1256   OS << getOpenMPSimpleClauseTypeName(OMPC_schedule, Node->getScheduleKind());
 1258     OS << ", ";
 1259     E->printPretty(OS, nullptr, Policy);
 1261   OS << ")";
 1265   OS << "ordered";
 1267     OS << "(";
 1268     Num->printPretty(OS, nullptr, Policy, 0);
 1269     OS << ")";
 1274   OS << "nowait";
 1278   OS << "untied";
 1282   OS << "nogroup";
 1286   OS << "mergeable";
 1289 void OMPClausePrinter::VisitOMPReadClause(OMPReadClause *) { OS << "read"; }
 1291 void OMPClausePrinter::VisitOMPWriteClause(OMPWriteClause *) { OS << "write"; }
 1294   OS << "update";
 1298   OS << "capture";
 1302   OS << "seq_cst";
 1306   OS << "threads";
 1309 void OMPClausePrinter::VisitOMPSIMDClause(OMPSIMDClause *) { OS << "simd"; }
 1312   OS << "device(";
 1313   Node->getDevice()->printPretty(OS, nullptr, Policy, 0);
 1314   OS << ")";
 1318   OS << "num_teams(";
 1319   Node->getNumTeams()->printPretty(OS, nullptr, Policy, 0);
 1320   OS << ")";
 1324   OS << "thread_limit(";
 1325   Node->getThreadLimit()->printPretty(OS, nullptr, Policy, 0);
 1326   OS << ")";
 1330   OS << "priority(";
 1331   Node->getPriority()->printPretty(OS, nullptr, Policy, 0);
 1332   OS << ")";
 1336   OS << "grainsize(";
 1337   Node->getGrainsize()->printPretty(OS, nullptr, Policy, 0);
 1338   OS << ")";
 1342   OS << "num_tasks(";
 1343   Node->getNumTasks()->printPretty(OS, nullptr, Policy, 0);
 1344   OS << ")";
 1348   OS << "hint(";
 1349   Node->getHint()->printPretty(OS, nullptr, Policy, 0);
 1350   OS << ")";
 1359     OS << (I == Node->varlist_begin() ? StartSym : ',');
 1362         DRE->printPretty(OS, nullptr, Policy, 0);
 1364         DRE->getDecl()->printQualifiedName(OS);
 1366       (*I)->printPretty(OS, nullptr, Policy, 0);
 1373   OS << "allocate";
 1375     OS << "(";
 1376     Allocator->printPretty(OS, nullptr, Policy, 0);
 1377     OS << ":";
 1382   OS << ")";
 1387     OS << "private";
 1389     OS << ")";
 1395     OS << "firstprivate";
 1397     OS << ")";
 1403     OS << "lastprivate";
 1405     OS << ")";
 1411     OS << "shared";
 1413     OS << ")";
 1419     OS << "reduction(";
 1426       OS << getOperatorSpelling(OOK);
 1430         QualifierLoc->print(OS, Policy);
 1431       OS << Node->getNameInfo();
 1433     OS << ":";
 1435     OS << ")";
 1442     OS << "task_reduction(";
 1449       OS << getOperatorSpelling(OOK);
 1453         QualifierLoc->print(OS, Policy);
 1454       OS << Node->getNameInfo();
 1456     OS << ":";
 1458     OS << ")";
 1464     OS << "in_reduction(";
 1471       OS << getOperatorSpelling(OOK);
 1475         QualifierLoc->print(OS, Policy);
 1476       OS << Node->getNameInfo();
 1478     OS << ":";
 1480     OS << ")";
 1486     OS << "linear";
 1488       OS << '('
 1493       OS << ')';
 1495       OS << ": ";
 1496       Node->getStep()->printPretty(OS, nullptr, Policy, 0);
 1498     OS << ")";
 1504     OS << "aligned";
 1507       OS << ": ";
 1508       Node->getAlignment()->printPretty(OS, nullptr, Policy, 0);
 1510     OS << ")";
 1516     OS << "copyin";
 1518     OS << ")";
 1524     OS << "copyprivate";
 1526     OS << ")";
 1533     OS << ")";
 1538   OS << "depend(";
 1539   OS << getOpenMPSimpleClauseTypeName(Node->getClauseKind(),
 1542     OS << " :";
 1545   OS << ")";
 1550     OS << "map(";
 1554           OS << getOpenMPSimpleClauseTypeName(OMPC_map,
 1557             OS << '(';
 1561               MapperNNS->print(OS, Policy);
 1562             OS << Node->getMapperIdInfo() << ')';
 1564           OS << ',';
 1567       OS << getOpenMPSimpleClauseTypeName(OMPC_map, Node->getMapType());
 1568       OS << ':';
 1571     OS << ")";
 1577     OS << "to";
 1580       OS << '(';
 1581       OS << "mapper(";
 1585         MapperNNS->print(OS, Policy);
 1586       OS << MapperId << "):";
 1591     OS << ")";
 1597     OS << "from";
 1600       OS << '(';
 1601       OS << "mapper(";
 1605         MapperNNS->print(OS, Policy);
 1606       OS << MapperId << "):";
 1611     OS << ")";
 1616   OS << "dist_schedule(" << getOpenMPSimpleClauseTypeName(
 1619     OS << ", ";
 1620     E->printPretty(OS, nullptr, Policy);
 1622   OS << ")";
 1626   OS << "defaultmap(";
 1627   OS << getOpenMPSimpleClauseTypeName(OMPC_defaultmap,
 1629   OS << ": ";
 1630   OS << getOpenMPSimpleClauseTypeName(OMPC_defaultmap,
 1632   OS << ")";
 1637     OS << "use_device_ptr";
 1639     OS << ")";
 1645     OS << "is_device_ptr";
 1647     OS << ")";