llvm-project/clang/lib/Parse
Johannes Doerfert 45e8e08492 [OpenMP] Encode `omp [...] assume[...]` assumptions with `omp[x]` prefix
Since these assumptions are coming from OpenMP it makes sense to mark
them as such in the generic IR encoding. Standardized assumptions will
be named
  omp_ASSUMPTION_NAME
and extensions will be named
  ompx_ASSUMPTION_NAME
which is the OpenMP 5.2 syntax for "extensions" of any kind.

This also matches what the OpenMP-Opt pass expects.

Summarized,
  #pragma omp [...] assume[s] no_parallelism
now generates the same IR assumption annotation as
  __attribute__((assume("omp_no_parallelism")))

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D105937
2021-09-10 12:08:52 -05:00
..
CMakeLists.txt [openmp] Base of tablegen generated OpenMP common declaration 2020-06-23 10:32:32 -04:00
ParseAST.cpp [Support] Add TimeTraceScope constructor without detail arg 2019-12-11 14:32:21 +00:00
ParseCXXInlineMethods.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
ParseDecl.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
ParseDeclCXX.cpp [CodeComplete] Basic code completion for attribute names. 2021-08-12 23:49:10 +02:00
ParseExpr.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
ParseExprCXX.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
ParseInit.cpp [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
ParseObjc.cpp [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
ParseOpenMP.cpp [OpenMP] Encode `omp [...] assume[...]` assumptions with `omp[x]` prefix 2021-09-10 12:08:52 -05:00
ParsePragma.cpp Revert "[CLANG][PATCH][FPEnv] Add support for option -ffp-eval-method and extend #pragma float_control similarly" 2021-09-01 04:48:50 -07:00
ParseStmt.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
ParseStmtAsm.cpp Remove unused parameter from parseMSInlineAsm. 2021-07-12 15:07:03 +01:00
ParseTemplate.cpp [clang] Implement P0692R1 from C++20 (access checking on specializations and instantiations) 2021-08-10 19:20:50 +04:00
ParseTentative.cpp [Clang] Add __ibm128 type to represent ppc_fp128 2021-09-06 18:00:58 +08:00
Parser.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00