hanchenye-llvm-project/clang/test
Ivan A. Kosarev e0ef348cb9 [CodeGen] Initialize large arrays by copying from a global
Currently, clang compiles explicit initializers for array
elements into series of store instructions. For large arrays of
built-in types this results in bloated output code and
significant amount of time spent on the instruction selection
phase. This patch fixes the issue by initializing such arrays
with global constants that store the binary image of the
initializer.

Differential Revision: https://reviews.llvm.org/D43181

llvm-svn: 325478
2018-02-19 09:49:11 +00:00
..
ARCMT Avoid assumption that lit tests are writable. NFC 2018-01-08 15:05:01 +00:00
ASTMerge [ASTImporter] Fix lexical DC for templated decls; support VarTemplatePartialSpecDecl 2018-02-14 11:18:00 +00:00
Analysis [analyzer] Suppress temporary destructors for temporary arrays. 2018-02-15 19:34:19 +00:00
CXX [cxx_dr_status] Tests for CWG issues 641-687. 2018-02-19 09:05:48 +00:00
CodeCompletion [CodeComplete] Omit templated constructors from member list too. 2018-01-22 20:44:47 +00:00
CodeGen [CodeGen] Initialize large arrays by copying from a global 2018-02-19 09:49:11 +00:00
CodeGenCUDA [CUDA] CUDA has no device-side library builtins. 2018-01-23 19:08:18 +00:00
CodeGenCXX [MS] Make constexpr static data members implicitly inline 2018-02-16 19:44:47 +00:00
CodeGenCoroutines [Coroutines] Use allocator overload when available 2018-02-15 20:37:22 +00:00
CodeGenObjC Add a testcase for PR36268. 2018-02-08 01:17:26 +00:00
CodeGenObjCXX Remove "CHECK: entry" in test case. 2018-02-09 19:25:31 +00:00
CodeGenOpenCL Clean up AMDGCN tests 2018-02-15 19:12:41 +00:00
Coverage
CoverageMapping [Coverage] Handle break/continue outside of loop bodies 2018-02-16 07:59:43 +00:00
Driver Add -no-canonical-prefixes to allow different build modes. 2018-02-15 13:50:07 +00:00
FixIt [Parser][FixIt] Better diagnostics for "typedef" instead of "typename" typo 2018-02-08 14:37:58 +00:00
Format [clang-format] Fix bug where -dump-config failed on ObjC header 2018-01-29 17:36:43 +00:00
Frontend Recommit r324107 again. 2018-02-07 22:15:33 +00:00
Headers In stdbool.h, define bool, false, true only in gnu++98 2017-12-08 08:28:08 +00:00
Import [ASTImporter] Support LambdaExprs and improve template support 2018-01-26 11:36:54 +00:00
Index Clean up AMDGCN tests 2018-02-15 19:12:41 +00:00
Integration Fix the test fix from r312181 2017-08-30 23:26:38 +00:00
Layout
Lexer [Lex] Fix handling numerical literals ending with ' and signed exponent. 2018-02-06 22:39:25 +00:00
Misc [OpenMP] Fix trailing space when printing pragmas, by Joel. E. Denny 2018-02-14 17:38:47 +00:00
Modules [Modules] Extend -fmodule-name semantic for frameworks with private modules 2018-02-16 00:12:57 +00:00
OpenMP [OPENMP] Do not emit messages for templates in declare target 2018-02-16 21:23:23 +00:00
PCH [OpenMP] Fix trailing space when printing pragmas, by Joel. E. Denny 2018-02-14 17:38:47 +00:00
Parser Allow the NS, CF, and ObjC attributes to be used with -fdouble-square-bracket-attributes. The syntactic locations for such attributes on ObjC constructs have been specifically chosen to follow the GNU attribute syntactic locations. 2018-02-12 13:38:25 +00:00
Preprocessor Support `#pragma comment(lib, "name")` in the frontend for ELF 2018-02-07 01:46:46 +00:00
Profile [PGO] Detect more structural changes with the stable hash 2017-11-14 23:56:53 +00:00
Refactor [refactor][extract] avoid extracting expressions from types in functions 2017-11-14 18:59:01 +00:00
Rewriter [clang] Remove unit test which uses reverse-iterate flag 2017-08-24 22:40:32 +00:00
Sema Clean up 'target' attribute diagnostics 2018-02-16 17:31:59 +00:00
SemaCUDA [CUDA] Allow external variables in separate compilation 2018-02-14 16:04:03 +00:00
SemaCXX Clean up 'target' attribute diagnostics 2018-02-16 17:31:59 +00:00
SemaObjC [Sema][ObjC] Use SmallSetVector to fix a failing test on the reverse 2018-02-06 23:44:40 +00:00
SemaObjCXX Add support for attribute 'trivial_abi'. 2018-02-05 20:23:22 +00:00
SemaOpenCL [OpenCL] Add "cles_khr_int64" extension. 2018-01-26 11:48:46 +00:00
SemaTemplate Fix a couple of places where we assumed that non-type template parameters are always rvalues. 2018-02-14 02:07:53 +00:00
TableGen
Templight [Templight] Template Instantiation Observer 2018-02-10 14:04:45 +00:00
Tooling Fix test clang-diff-json.cpp 2018-02-10 21:28:55 +00:00
Unit [lit] Set shlibpath_var on Solaris 2017-11-27 13:33:19 +00:00
VFS Avoid assumption that lit tests are writable. NFC 2018-01-08 15:05:01 +00:00
clang-rename [clang-rename] Fix and enable the failing TemplatedClassFunction test. 2017-10-25 08:25:25 +00:00
.clang-format
CMakeLists.txt [ThinLTO/CFI] Include TYPE_ID summaries into GLOBALVAL_SUMMARY_BLOCK 2018-02-14 22:41:15 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [debuginfo] Remove temporary FIXME. 2017-12-14 22:12:46 +00:00
lit.site.cfg.py.in [lit] Add host_cxx to lit config 2017-10-10 17:53:45 +00:00
make_test_dirs.pl