Added support for more affinity kind.
"affinity('depend | numa | core', 'expr1'[, 'expr2'])" 'expr1' is the affinity requested. 'expr2' defines if the affinity is "strict" (0 by default, anything but 0 means strict). Using 'depend' will set the affinity of the task to the numa node where 'expr1' is located (therefore, a pointer is expected).
Showing
- include/clang/AST/OpenMPClause.h 79 additions, 29 deletionsinclude/clang/AST/OpenMPClause.h
- include/clang/AST/RecursiveASTVisitor.h 7 additions, 7 deletionsinclude/clang/AST/RecursiveASTVisitor.h
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 0 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Basic/OpenMPKinds.def 9 additions, 0 deletionsinclude/clang/Basic/OpenMPKinds.def
- include/clang/Basic/OpenMPKinds.h 8 additions, 0 deletionsinclude/clang/Basic/OpenMPKinds.h
- include/clang/Parse/Parser.h 1 addition, 0 deletionsinclude/clang/Parse/Parser.h
- include/clang/Sema/Sema.h 6 additions, 1 deletioninclude/clang/Sema/Sema.h
- lib/AST/OpenMPClause.cpp 25 additions, 0 deletionslib/AST/OpenMPClause.cpp
- lib/AST/StmtPrinter.cpp 1 addition, 0 deletionslib/AST/StmtPrinter.cpp
- lib/Basic/OpenMPKinds.cpp 5 additions, 1 deletionlib/Basic/OpenMPKinds.cpp
- lib/CodeGen/CGOpenMPRuntime.cpp 48 additions, 3 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- lib/CodeGen/CGOpenMPRuntime.h 8 additions, 0 deletionslib/CodeGen/CGOpenMPRuntime.h
- lib/CodeGen/CGStmtOpenMP.cpp 14 additions, 7 deletionslib/CodeGen/CGStmtOpenMP.cpp
- lib/Parse/ParseOpenMP.cpp 23 additions, 4 deletionslib/Parse/ParseOpenMP.cpp
- lib/Sema/SemaOpenMP.cpp 23 additions, 15 deletionslib/Sema/SemaOpenMP.cpp
- lib/Sema/TreeTransform.h 17 additions, 6 deletionslib/Sema/TreeTransform.h
- lib/Serialization/ASTReaderStmt.cpp 1 addition, 1 deletionlib/Serialization/ASTReaderStmt.cpp
- lib/Serialization/ASTWriterStmt.cpp 6 additions, 1 deletionlib/Serialization/ASTWriterStmt.cpp
- tools/libclang/CIndex.cpp 1 addition, 1 deletiontools/libclang/CIndex.cpp
Loading
Please register or sign in to comment