llvm-project/clang/test
Hsiangkai Wang 108864397d [Clang] Add clang attribute `clang_builtin_alias`.
In some cases, we want to provide the alias name for the clang builtins.
For example, the arguments must be constant integers for some RISC-V builtins.
If we use wrapper functions, we could not constrain the arguments be constant
integer. This attribute is used to achieve the purpose.

Besides this, use `clang_builtin_alias` is more efficient than using
wrapper functions. We use this attribute to deal with test time issue
reported in https://bugs.llvm.org/show_bug.cgi?id=49962.

In our downstream testing, it could decrease the testing time from 6.3
seconds to 3.7 seconds for vloxei.c test.

Differential Revision: https://reviews.llvm.org/D100611
2021-04-25 08:49:19 +08:00
..
APINotes
ARCMT
AST Fix null ptr crash dumping TemplateTemplateParmDecl 2021-04-24 12:28:10 -04:00
ASTMerge Modify TypePrinter to differentiate between anonymous struct and unnamed struct 2021-02-22 14:16:43 -08:00
Analysis [Analyzer][StdLibraryFunctionsChecker] Describe arg constraints 2021-04-23 17:27:54 +02:00
CXX CWG2076: Permit implicit conversions within a single level of braces 2021-04-22 16:49:39 -07:00
ClangScanDeps [clang][deps] Check extra args in tests 2021-04-22 14:10:08 +02:00
CodeCompletion [CodeCompletion] Avoid spurious signature help for init-list args 2021-03-16 12:46:40 +01:00
CodeGen [Clang] Add clang attribute `clang_builtin_alias`. 2021-04-25 08:49:19 +08:00
CodeGenCUDA [CUDA][HIP] Allow non-ODR use of host var in device 2021-04-19 14:45:24 -04:00
CodeGenCXX Delete le32/le64 targets 2021-04-21 18:44:12 -07:00
CodeGenCoroutines Revert "[Coroutines] Set presplit attribute in Clang instead of CoroEarly pass" 2021-04-18 17:22:28 -07:00
CodeGenHIP
CodeGenObjC [ObjC] Add a command line flag that disables recognition of objc_direct for testability 2021-04-06 11:17:01 -04:00
CodeGenObjCXX Temporairly revert "[CGCall] Annotate `this` argument with alignment" 2021-04-10 10:43:16 +03:00
CodeGenOpenCL [funcattrs] Add the maximal set of implied attributes to definitions 2021-04-16 14:22:19 -07:00
CodeGenOpenCLCXX [OpenCL] Added distinct file extension for C++ for OpenCL. 2021-03-24 13:07:04 +00:00
CodeGenSYCL [NFC][SYCL] Drop idle triple component from regression tests. 2021-04-13 08:00:21 +03:00
Coverage
CoverageMapping Revert "Revert "[Coverage] Emit gap region between statements if first statements contains terminate statements."" 2021-03-04 11:52:43 -08:00
Driver [clang][amdgpu] Use implicit code object version 2021-04-23 23:52:50 +01:00
FixIt [clang] Add fixit for Wreorder-ctor 2021-03-24 19:22:53 +00:00
Format [test] Use host platform specific error message substitution in lit tests - continued 2021-02-03 09:53:22 -05:00
Frontend Fix clang/test/Frontend/plugin-annotate-functions.c 2021-04-21 14:00:38 +01:00
Headers [WebAssembly] Finalize wasm_simd128.h intrinsics 2021-04-23 13:37:27 -07:00
Import
Index [index] Improve macro indexing support 2021-04-06 09:12:14 -07:00
Integration
InterfaceStubs [test] Make ELF tests less reliant on the lexicographical order of non-local symbols 2021-02-13 01:01:06 -08:00
Layout [SystemZ][z/OS] fix lit test related to alignment 2021-03-23 13:15:19 -04:00
Lexer [C++2b] Support size_t literals 2021-03-31 13:36:23 +00:00
Misc [Clang] Add clang attribute `clang_builtin_alias`. 2021-04-25 08:49:19 +08:00
Modules [ASTReader] Only mark module out of date if not already compiled 2021-04-16 17:57:03 -07:00
OpenMP [Clang] Allow the combination of loader_uninitialized and address spaces 2021-04-23 11:21:52 -05:00
PCH Make iteration over the DeclContext::lookup_result safe. 2021-03-17 08:59:04 +00:00
Parser Fix potential infinite loop with malformed attribute syntax 2021-04-15 10:47:32 -04:00
Preprocessor [Clang][ARM] Define __VFP_FP__ macro unconditionally 2021-04-21 15:03:59 +01:00
Profile [PGO, test] Fix typo in FileCheck var 2021-04-03 08:44:46 +01:00
Refactor
Rewriter
Sema [Clang] Allow the combination of loader_uninitialized and address spaces 2021-04-23 11:21:52 -05:00
SemaCUDA [CUDA][HIP] Allow non-ODR use of host var in device 2021-04-19 14:45:24 -04:00
SemaCXX [clang] Do not crash on template specialization following a fatal error 2021-04-23 13:34:05 +02:00
SemaObjC [-Wcompletion-handler] Don't recognize init methods as conventional 2021-04-07 13:50:01 +03:00
SemaObjCXX [-Wcalled-once] Do not run analysis on Obj-C++ 2021-04-22 15:20:52 +03:00
SemaOpenCL [OpenCL] Fix typo in the test. 2021-04-23 14:36:36 +01:00
SemaOpenCLCXX [C++4OpenCL] Add extra diagnostics for kernel argument types 2021-04-22 15:28:04 +01:00
SemaSYCL [SYCL] Rework the SYCL driver options 2021-03-17 08:27:19 -04:00
SemaTemplate PR49724: Fix deduction of null member pointers. 2021-03-25 13:47:22 -07:00
TableGen Fix test expectations for %diff documentation. 2021-03-30 17:48:08 -07:00
Templight
Tooling
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
VFS
clang-rename
utils/update_cc_test_checks Temporairly revert "[CGCall] Annotate `this` argument with alignment" 2021-04-10 10:43:16 +03:00
.clang-format
CMakeLists.txt [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [llvm-rc] Run clang to preprocess input files 2021-04-21 11:50:10 +03:00
lit.site.cfg.py.in [clang][lit] Allow test cases to use the compiler that are used to compile Clang 2021-03-24 11:32:57 +01:00
make_test_dirs.pl Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00