- Feb 11, 2011
-
-
Johnny Chen authored
and constant strings. llvm-svn: 125320
-
Nick Lewycky authored
passes. Fixes PR9112. Patch by Jakub Staszak! llvm-svn: 125319
-
Cameron Zwarich authored
iv-users twice. llvm-svn: 125318
-
Cameron Zwarich authored
llvm-svn: 125317
-
Bruno Cardoso Lopes authored
llvm-svn: 125316
-
David Greene authored
[AVX] Implement 256-bit vector lowering for SCALAR_TO_VECTOR. This largely completes support for 128-bit fallback lowering for code that is not 256-bit ready. llvm-svn: 125315
-
- Feb 10, 2011
-
-
Sean Callanan authored
- Objective-C constant strings were being NULL-terminated erroneously. - Empty Objective-C constant strings were not being generated correctly. Also added the template for a test of these fixes. llvm-svn: 125314
-
Johnny Chen authored
llvm-svn: 125313
-
Johnny Chen authored
SetBits32(uint32_t &bits, uint32_t bit, uint32_t val) to SetBit32(bits, bit, val). llvm-svn: 125312
-
Howard Hinnant authored
llvm-svn: 125311
-
Matt Beaumont-Gay authored
llvm-svn: 125309
-
Bruno Cardoso Lopes authored
llvm-svn: 125305
-
Owen Anderson authored
llvm-svn: 125304
-
Johnny Chen authored
Some refactorings to use the convenience function: Bits32(const uint32_t value, const uint32_t bit). llvm-svn: 125303
-
Johnny Chen authored
llvm-svn: 125302
-
Johnny Chen authored
table. Also add some more defines and convenience functions. llvm-svn: 125300
-
Daniel Dunbar authored
llvm-svn: 125299
-
Daniel Dunbar authored
llvm-svn: 125298
-
Douglas Gregor authored
macro definitions by macro name first. That way, we'll get a stable ordering in the AST/PCH file. llvm-svn: 125297
-
Argyrios Kyrtzidis authored
For -Woverloaded-virtual take into account canonical methods. Fixes rdar://8979966 & http://llvm.org/PR9182. llvm-svn: 125296
-
Johnny Chen authored
llvm-svn: 125295
-
Daniel Dunbar authored
llvm-svn: 125293
-
Bruno Cardoso Lopes authored
Fix a lot of o32 CC issues and add a bunch of tests. Patch by Akira Hatanaka with some small modifications by me. llvm-svn: 125292
-
Howard Hinnant authored
llvm-svn: 125290
-
Daniel Dunbar authored
llvm-svn: 125289
-
Douglas Gregor authored
AST/PCH files more lazy: - Don't preload all of the file source-location entries when reading the AST file. Instead, load them lazily, when needed. - Only look up header-search information (whether a header was already #import'd, how many times it's been included, etc.) when it's needed by the preprocessor, rather than pre-populating it. Previously, we would pre-load all of the file source-location entries, which also populated the header-search information structure. This was a relatively minor performance issue, since we would end up stat()'ing all of the headers stored within a AST/PCH file when the AST/PCH file was loaded. In the normal PCH use case, the stat()s were cached, so the cost--of preloading ~860 source-location entries in the Cocoa.h case---was relatively low. However, the recent optimization that replaced stat+open with open+fstat turned this into a major problem, since the preloading of source-location entries would now end up opening those files. Worse, those files wouldn't be closed until the file manager was destroyed, so just opening a Cocoa.h PCH file would hold on to ~860 file descriptors, and it was easy to blow through the process's limit on the number of open file descriptors. By eliminating the preloading of these files, we neither open nor stat the headers stored in the PCH/AST file until they're actually needed for something. Concretely, we went from *** HeaderSearch Stats: 835 files tracked. 364 #import/#pragma once files. 823 included exactly once. 6 max times a file is included. 3 #include/#include_next/#import. 0 #includes skipped due to the multi-include optimization. 1 framework lookups. 0 subframework lookups. *** Source Manager Stats: 835 files mapped, 3 mem buffers mapped. 37460 SLocEntry's allocated, 11215575B of Sloc address space used. 62 bytes of files mapped, 0 files with line #'s computed. with a trivial program that uses a chained PCH including a Cocoa PCH to *** HeaderSearch Stats: 4 files tracked. 1 #import/#pragma once files. 3 included exactly once. 2 max times a file is included. 3 #include/#include_next/#import. 0 #includes skipped due to the multi-include optimization. 1 framework lookups. 0 subframework lookups. *** Source Manager Stats: 3 files mapped, 3 mem buffers mapped. 37460 SLocEntry's allocated, 11215575B of Sloc address space used. 62 bytes of files mapped, 0 files with line #'s computed. for the same program. llvm-svn: 125286
-
Roman Divacky authored
is specified in the FreeBSD linker driver. llvm-svn: 125285
-
David Greene authored
[AVX] Implement 256-bit vector lowering for EXTRACT_VECTOR_ELT. llvm-svn: 125284
-
Roman Divacky authored
llvm-svn: 125283
-
Roman Divacky authored
llvm-svn: 125282
-
Ken Dyck authored
character units. llvm-svn: 125281
-
Ken Dyck authored
r125156. llvm-svn: 125280
-
Che-Liang Chiou authored
llvm-svn: 125279
-
NAKAMURA Takumi authored
Unixen and Cygwin do not need it. llvm-svn: 125277
-
NAKAMURA Takumi authored
llvm-svn: 125275
-
NAKAMURA Takumi authored
llvm-svn: 125274
-
NAKAMURA Takumi authored
llvm-svn: 125273
-
NAKAMURA Takumi authored
llvm-svn: 125272
-
Chris Lattner authored
gep to explicit addressing, we know that none of the intermediate computation overflows. This could use review: it seems that the shifts certainly wouldn't overflow, but could the intermediate adds overflow if there is a negative index? Previously the testcase would instcombine to: define i1 @test(i64 %i) { %p1.idx.mask = and i64 %i, 4611686018427387903 %cmp = icmp eq i64 %p1.idx.mask, 1000 ret i1 %cmp } now we get: define i1 @test(i64 %i) { %cmp = icmp eq i64 %i, 1000 ret i1 %cmp } llvm-svn: 125271
-
Chris Lattner authored
for NSW/NUW binops to follow the pattern of exact binops. This allows someone to use Builder.CreateAdd(x, y, "tmp", MaybeNUW); llvm-svn: 125270
-