llvm-project/clang/utils/TableGen
Sven van Haastregt 28cdcf8e3c [OpenCL] Handle TypeExtensions in OpenCLBuiltinFileEmitter
Until now, any types that had TypeExtensions attached to them were not
guarded with those extensions.  Extend the OpenCLBuiltinFileEmitter
such that all required extensions are emitted for the types of a
builtin function.

The `clang-tblgen -gen-clang-opencl-builtin-tests` emitter will now
produce e.g.:

  #if defined(cl_khr_fp16) && defined(cl_khr_fp64)
  half8 test11802_convert_half8_rtp(double8 arg1) {
    return convert_half8_rtp(arg1);
  }
  #endif // TypeExtension

Differential Revision: https://reviews.llvm.org/D120262
2022-02-24 15:17:24 +00:00
..
ASTTableGen.cpp [NFC][clang]Inclusive language: remove remaining uses of sanity 2021-11-24 14:20:13 -05:00
ASTTableGen.h
CMakeLists.txt
ClangASTNodesEmitter.cpp
ClangASTPropertiesEmitter.cpp [clang] Use StringRef::contains (NFC) 2021-10-21 08:58:19 -07:00
ClangAttrEmitter.cpp Allow parameter pack expansions and initializer lists in annotate attribute 2022-02-08 13:38:07 -05:00
ClangCommentCommandInfoEmitter.cpp Comment parsing: Complete list of Doxygen commands 2021-11-09 18:35:26 +01:00
ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
ClangCommentHTMLTagsEmitter.cpp
ClangDataCollectorsEmitter.cpp
ClangDiagnosticsEmitter.cpp [clang] Introduce support for disabling warnings in system macros 2022-01-12 08:18:19 +00:00
ClangOpcodesEmitter.cpp [Clang interpreter] Avoid storing pointers at unaligned locations 2021-07-28 16:03:41 +01:00
ClangOpenCLBuiltinEmitter.cpp [OpenCL] Handle TypeExtensions in OpenCLBuiltinFileEmitter 2022-02-24 15:17:24 +00:00
ClangOptionDocEmitter.cpp
ClangSACheckersEmitter.cpp
ClangSyntaxEmitter.cpp
ClangTypeNodesEmitter.cpp
MveEmitter.cpp [CodeGen] Rename deprecated Address constructor 2022-02-17 11:26:42 +01:00
NeonEmitter.cpp [clang] Fix bugprone argument comments (NFC) 2022-01-09 00:19:49 -08:00
RISCVVEmitter.cpp [RISCV] Add the policy operand for nomask vector Multiply-Add IR intrinsics. 2022-02-17 09:12:46 -08:00
SveEmitter.cpp
TableGen.cpp [AST][clangd] Expose documentation of Attrs on hover. 2021-08-12 21:16:37 +02:00
TableGenBackends.h [AST][clangd] Expose documentation of Attrs on hover. 2021-08-12 21:16:37 +02:00