- Feb 04, 2013
-
-
Arnold Schwaighofer authored
Swift has a renaming dependency if we load into D subregisters. We don't have a way of distinguishing between insertelement operations of values from loads and other values. Therefore, we are pessimistic for now (The performance problem showed up in example 14 of gcc-loops). radar://13096933 llvm-svn: 174300
-
Edwin Vane authored
Added support to the cmake build to turn off uninitialized use warnings for gcc. This cleans the build up somewhat. Used logic simpler than found in autoconf by making use of the fact that although gcc won't complain about unsupported -Wno-* flags it *will* complain about unsupported -W flags. Reviewers: gribozavr, doug.gregor, chandlerc llvm-svn: 174299
-
NAKAMURA Takumi authored
llvm-svn: 174298
-
NAKAMURA Takumi authored
llvm-svn: 174297
-
Dmitri Gribenko authored
This is an improvement of r173630, that handles the following case: struct VirualDestrClass { VirualDestrClass(int arg); virtual ~VirualDestrClass(); }; struct ConstrWithCleanupsClass { ConstrWithCleanupsClass(const VirualDestrClass& cplx = VirualDestrClass(42)); }; ConstrWithCleanupsClass cwcNoArg; That was printed as: ConstrWithCleanupsClass cwcNoArg(); llvm-svn: 174296
-
- Feb 03, 2013
-
-
Michael Gottesman authored
Added instance variable/initializers/getter/setters for new keyword externally initialized to GlobalVariable. No *TRUE* functionality change. I am going to add in the actual test cases with the actual functionality changes in a later patch because I want to include some test cases. To be clear when I say no *TRUE* functionality change I mean that this patch (like it says in the title) only contains getters/setters and sets up a default initial value of the instance variable to false so that this patch does not affect any other uses of Global Variable.h. llvm-svn: 174295
-
Benjamin Kramer authored
llvm-svn: 174294
-
Benjamin Kramer authored
This can yield dramatic speedups of dynamic_cast for simple inheritance trees, at least with libsupc++. Neither libcxxabi nor libcxxrt make use of this hint currently, it was never implemented because clang didn't support it. There was some concern about the number of class hierarchy walks this change introduces. If it turns out to be an issue we can add caching either at the cast pair level or even deeper, but we also do a lot of walks in Sema so this codepath is probably fairly optimized already. llvm-svn: 174293
-
Benjamin Kramer authored
llvm-svn: 174292
-
Daniel Jasper authored
We can now format: SomeArrayOfSomeType a = { { { 1, 2, 3 } }, { { 1, 2, 3 } }, { { 111111111111111111111111111111, 222222222222222222222222222222, 333333333333333333333333333333 } }, { { 1, 2, 3 } }, { { 1, 2, 3 } } }; Before, we did strange things there. llvm-svn: 174291
-
Dmitri Gribenko authored
llvm-svn: 174290
-
Benjamin Kramer authored
This allows the optimizer to CSE dynamic_casts. llvm-svn: 174289
-
Joerg Sonnenberger authored
llvm-svn: 174288
-
Dmitri Gribenko authored
llvm-svn: 174287
-
Dmitri Gribenko authored
This removes quite a few 'cxstring::' qualifications where they are obvious. llvm-svn: 174286
-
Dmitri Gribenko authored
llvm-svn: 174285
-
Dmitri Gribenko authored
llvm-svn: 174284
-
Dmitri Gribenko authored
llvm-svn: 174283
-
Dmitri Gribenko authored
llvm-svn: 174282
-
Dmitri Gribenko authored
llvm-svn: 174281
-
Dmitri Gribenko authored
llvm-svn: 174280
-
Nuno Lopes authored
llvm-svn: 174279
-
NAKAMURA Takumi authored
- Relax a expression for arm-gnueabi. - Exclude msvc to limit target triplets to add limited a few targets. Feel free to remove actions if guys thought they redundant. llvm-svn: 174278
-
Michael J. Spencer authored
llvm-svn: 174277
-
Michael J. Spencer authored
llvm-svn: 174276
-
Michael J. Spencer authored
llvm-svn: 174275
-
Michael J. Spencer authored
llvm-svn: 174274
-
Michael J. Spencer authored
llvm-svn: 174273
-
Michael J. Spencer authored
Improve performance of iterating over children and accessing the member file buffer by caching the file size and moving code out to the header. This also makes getBuffer return a StringRef instead of a MemoryBuffer. Both fixing a memory leak and removing a malloc. This takes getBuffer from ~10% of the time in lld to unmeasurable. llvm-svn: 174272
-
Michael J. Spencer authored
llvm-svn: 174271
-
Michael Gottesman authored
llvm-svn: 174270
-
Michael Gottesman authored
GlobalVariable about LLVM's assumptions vis-a-vis Global Variable initial values and Global Variable initializers. This is in preparation for adding the new keyword externally_initialized. Specifically, the patch explains how LLVM optimizes global initializers by assumign that global variables defined within the module are not modified from their initial values before the start of the global initializer. llvm-svn: 174269
-
Alex Rosenberg authored
llvm-svn: 174268
-
- Feb 02, 2013
-
-
Jason Molenda authored
fixes crash of the form % lldb (lldb) target symbols add /tmp/symbols.dSYM (lldb) Killed: 9 <rdar://problem/13139481> llvm-svn: 174267
-
David Blaikie authored
The main lists of debug info metadata attached to the compile_unit had an extra layer of metadata nodes they went through for no apparent reason. This patch removes that (& still passes just as much of the GDB 7.5 test suite). If anyone can show evidence as to why these extra metadata nodes are there I'm open to reverting this patch & documenting why they're there. llvm-svn: 174266
-
Jordan Rose authored
...again. The problem has not been fixed and our internal buildbot is still getting hangs. This reverts r174212, originally applied in r173951, then reverted in r174069. Will not re-apply until the entire project analyzes successfully on my local machine. llvm-svn: 174265
-
Reed Kotler authored
This checkin makes hello world work. llvm-svn: 174264
-
Dmitri Gribenko authored
Also migrate all clients from the old API. llvm-svn: 174263
-
Richard Smith authored
designator" diagnostic with more correct and more human-friendly "cannot take address of rvalue of type 'T'". For the case of & &T::f, provide a custom diagnostic, rather than unhelpfully saying "cannot take address of rvalue of type '<overloaded function type>'". For the case of &array_temporary, treat it just like a class temporary (including allowing it as an extension); the existing diagnostic wording for the class temporary case works fine. llvm-svn: 174262
-
Richard Smith authored
Correctly classify T{} as an array temporary if T is an array of class type with nontrivial destructor. llvm-svn: 174261
-