- Apr 16, 2012
-
-
Eli Friedman authored
llvm-svn: 154789
-
Nick Lewycky authored
includes a patch from Matthias Kleine with a regression testcase! Adds a new iterator 'data_iterator' to OnDiskHashTable which doesn't try to reconstruct the external_key from the internal_key, which is useful for traits that don't store enough information to do that mapping in their key. Also deletes the 'item_iterator' from OnDiskHashTable as dead code. llvm-svn: 154784
-
Craig Topper authored
Change _mm256_permute4x64_epi64 and _mm256_permute4x64_pd to use builtin_shufflevector instead of specific builtins. Old builtins will be removed from llvm now that vpermq/vpermpd are supported by shuffle lowering code. llvm-svn: 154777
-
- Apr 15, 2012
-
-
David Blaikie authored
llvm-svn: 154774
-
Duncan Sands authored
llvm-svn: 154767
-
Benjamin Kramer authored
It would be nice to use OwningPtr here, but DeclContextInfo is stored in a DenseMap. llvm-svn: 154763
-
Benjamin Kramer authored
llvm-svn: 154762
-
Benjamin Kramer authored
llvm-svn: 154760
-
Richard Smith authored
initialize an array of unsigned char. Outside C++11 mode, this bug was benign, and just resulted in us emitting a constant which was double the required length, padded with 0s. In C++11, it resulted in us generating an array whose first element was something like i8 ptrtoint ([n x i8]* @str to i8). llvm-svn: 154756
-
- Apr 14, 2012
-
-
Fariborz Jahanian authored
definition for protocols static. // rdar://11248048 llvm-svn: 154753
-
Rafael Espindola authored
I am working on a cleaner fix, but this gets the case in PR12552 passing. llvm-svn: 154749
-
Benjamin Kramer authored
llvm-svn: 154748
-
Benjamin Kramer authored
llvm-svn: 154747
-
Benjamin Kramer authored
llvm-svn: 154746
-
Duncan Sands authored
thinking of generalizing it to be able to specify other freedoms beyond accuracy (such as that NaN's don't have to be respected). I'd like the 3.1 release (the first one with this metadata) to have the more generic name already rather than having to auto-upgrade it in 3.2. llvm-svn: 154745
-
Benjamin Kramer authored
Instead, make it the allocation function's responsibility to add them to a list and clear it when a top-level decl is finished. This plugs leakage of TemplateAnnotationIds. DelayedCleanupPool is ugly and unused, remove it. llvm-svn: 154743
-
Benjamin Kramer authored
llvm-svn: 154739
-
Benjamin Kramer authored
llvm-svn: 154736
-
Richard Smith authored
attached. Since we do not support any attributes which appertain to a statement (yet), testing of this is necessarily quite minimal. Patch by Alexander Kornienko! llvm-svn: 154723
-
Benjamin Kramer authored
This manual deleting is error-prone, but we can't just put an OwningPtr in a std::map :( llvm-svn: 154707
-
- Apr 13, 2012
-
-
John McCall authored
jump into these scopes, and the cleanup-entering code sometimes wants to do some operations first (e.g. a GEP), which can leave us with unparented IR. llvm-svn: 154684
-
Fariborz Jahanian authored
__typeof which is a regression by reverting r154360. // rdar://11233924 llvm-svn: 154679
-
Benjamin Kramer authored
llvm-svn: 154678
-
John McCall authored
llvm-svn: 154676
-
Douglas Gregor authored
llvm-svn: 154672
-
Fariborz Jahanian authored
call to 'super' use __rw_objc_super as type of the 'super' meta-data instead of objc_super. // rdar://11239894 llvm-svn: 154670
-
Douglas Gregor authored
Make control flow more explicit for rebuilding property reference expressions without their OpaqueValueExprs llvm-svn: 154669
-
Douglas Gregor authored
out of the tree and use the tooling infrastructure. llvm-svn: 154668
-
Douglas Gregor authored
rebuilt. Fixes <rdar://problem/11052352>. llvm-svn: 154667
-
Anton Korobeynikov authored
- Handle unions - Handle C++ classes llvm-svn: 154664
-
Richard Smith authored
GNU __atomic builtins. llvm-svn: 154659
-
Richard Smith authored
in the wrong namespace scope. Patch by Jonathan Sauer! llvm-svn: 154656
-
Seth Cantrell authored
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120409/056126.html llvm-svn: 154655
-
John McCall authored
and add a test case. llvm-svn: 154653
-
John McCall authored
shadow of a block expression with non-trivial destructed cleanups, we should flag that in the enclosing function, not in the block that we're about to pop. llvm-svn: 154646
-
Seth Cantrell authored
llvm-svn: 154643
-
Richard Smith authored
__atomic_test_and_set, __atomic_clear, plus a pile of undocumented __GCC_* predefined macros. Implement library fallback for __atomic_is_lock_free and __c11_atomic_is_lock_free, and implement __atomic_always_lock_free. Contrary to their documentation, GCC's __atomic_fetch_add family don't multiply the operand by sizeof(T) when operating on a pointer type. libstdc++ relies on this quirk. Remove this handling for all but the __c11_atomic_fetch_add and __c11_atomic_fetch_sub builtins. Contrary to their documentation, __atomic_test_and_set and __atomic_clear take a first argument of type 'volatile void *', not 'void *' or 'bool *', and __atomic_is_lock_free and __atomic_always_lock_free have an argument of type 'const volatile void *', not 'void *'. With this change, libstdc++4.7's <atomic> passes libc++'s atomic test suite, except for a couple of libstdc++ bugs and some cases where libc++'s test suite tests for properties which implementations have latitude to vary. llvm-svn: 154640
-
Fariborz Jahanian authored
struct __rw_objc_super; no functionality change. llvm-svn: 154632
-
David Blaikie authored
The codepath already only works for source bits > target bits, it's just that it was testing for the source expr bits to be exactly 64. This meant simple cases (int i = x_long / 2) were missed & ended up under the general -Wconversion warning, which a user might not have enabled. llvm-svn: 154626
-
Anna Zaks authored
We should not deserialize unused declarations from the PCH file. Achieve this by storing the top level declarations during parsing (HandleTopLevelDecl ASTConsumer callback) and analyzing/building a call graph only for those. Tested the patch on a sample ObjC file that uses PCH. With the patch, the analyzes is 17.5% faster and clang consumes 40% less memory. Got about 10% overall build/analyzes time decrease on a large Objective C project. A bit of CallGraph refactoring/cleanup as well.. llvm-svn: 154625
-