summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [analyzer diagnostics] flush locations *before* popping the current path ↵Ted Kremenek2012-03-022-10/+245
| | | | | | | | when visiting a CallEnter. Fixes <rdar://problem/10967815> llvm-svn: 151938
* Prevent assertions because of zero-sized sections,Sean Callanan2012-03-021-1/+6
| | | | | | | while still ensuring that the sections get remote allocations. llvm-svn: 151936
* Fix an ABI problem with ptrdiff_t and intptr_t on PPC32Hal Finkel2012-03-022-2/+4
| | | | | | | | | | ptrdiff_t on PPC32 on Linux, etc. should be int not long. This does not matter for C, but it does matter for C++ because of name mangling. The preprocessor test has been changed accordingly. llvm-svn: 151935
* Move int<->pointer conversion warnings behind -Wint-conversions.Nico Weber2012-03-024-7/+9
| | | | | | | This is consistent with -Wbool-conversion. Let me know if you prefer a different flag name. llvm-svn: 151934
* Fix indentation.Benjamin Kramer2012-03-021-3/+3
| | | | llvm-svn: 151932
* [Sema] Fix crash-on-invalid-code issue:Argyrios Kyrtzidis2012-03-023-1/+9
| | | | | | | | | | @class I; @implementation I(cat) // crashes here @end rdar://10968158 llvm-svn: 151931
* [analyzer] Bound the size of the functions being inlined + provideAnna Zaks2012-03-028-21/+60
| | | | | | | | | | | command line options for inlining tuning. This adds the option for stack depth bound as well as function size bound. + minor doxygenification llvm-svn: 151930
* Adding a test case for a bug where types CFGregorianDate and CFRange were ↵Enrico Granata2012-03-023-0/+79
| | | | | | improperly uniqued by LLDB such that both where shown as having the same structure contents - The bug itself is fixed in TOT but we want to catch regressions ASAP llvm-svn: 151929
* Removing a spurious print statement leftover from debugging the formatter codeEnrico Granata2012-03-021-1/+0
| | | | llvm-svn: 151928
* PR12094: Set the alignment of memory intrinsic instructions based on theJay Foad2012-03-022-29/+57
| | | | | | types of the pointer arguments. llvm-svn: 151927
* Tidy up. Trailing whitespace.Jim Grosbach2012-03-021-1/+1
| | | | llvm-svn: 151926
* Bumping Xcode project versions for lldb-120 and debugserver-171.Greg Clayton2012-03-025-24/+24
| | | | llvm-svn: 151924
* Change diagnostic test for my last patch.Fariborz Jahanian2012-03-022-4/+4
| | | | | | // rdar://10961370 llvm-svn: 151923
* Revert r151879, r151880, "PR12145: Avoid emitting loads of constexpr ↵Daniel Dunbar2012-03-022-42/+9
| | | | | | | | variables in contexts where there" and "Fix buildbot: make this test less dependent on the value names in the produced IR." They broke bootstrap. llvm-svn: 151922
* autoconf: Set LLVM_CONFIGTIME to a stable value when using --disable-timestamps.Daniel Dunbar2012-03-022-0/+9
| | | | llvm-svn: 151921
* Use tabs instead of spaces.Benjamin Kramer2012-03-021-3/+3
| | | | | | No, really, make doesn't work with spaces. llvm-svn: 151920
* LVI: Recognize the form instcombine canonicalizes range checks into when ↵Benjamin Kramer2012-03-022-4/+59
| | | | | | | | | | forming constant ranges. This could probably be made a lot smarter, but this is a common case and doesn't require LVI to scan a lot of code. With this change CVP can optimize away the "shift == 0" case in Hashing.h that only gets hit when "shift" is in a range not containing 0. llvm-svn: 151919
* Hashing: microoptimize a truncate on 64 bit away. This currently blocks dead ↵Benjamin Kramer2012-03-021-1/+1
| | | | | | | | code eliminating the conditional. The optimizer should handle this eventually, but currently LVI isn't really designed for this kind of stuff. llvm-svn: 151918
* CodeGen: Document and beautify the parts of the BlockGeneratorsTobias Grosser2012-03-021-71/+132
| | | | llvm-svn: 151917
* CodeGen: Pass the scalar maps properlyTobias Grosser2012-03-022-79/+83
| | | | llvm-svn: 151916
* CodeGen: PrettifyTobias Grosser2012-03-021-9/+7
| | | | llvm-svn: 151915
* CodeGen: StyleTobias Grosser2012-03-021-5/+4
| | | | llvm-svn: 151914
* CodeGen: Move domain into the VectorBlockGeneratorTobias Grosser2012-03-021-19/+16
| | | | llvm-svn: 151913
* CodeGen: Simplify the generation of a splatTobias Grosser2012-03-022-12/+5
| | | | llvm-svn: 151912
* CodeGen: Prettify functionTobias Grosser2012-03-021-31/+19
| | | | llvm-svn: 151911
* clang -v support for separate clang.git and llvm.git, patch by Andrew Trick.Jia Liu2012-03-023-10/+57
| | | | llvm-svn: 151910
* delete dead code, patch by Michael Spencer.Jia Liu2012-03-021-5/+0
| | | | llvm-svn: 151909
* add llvm.gcroot into GarbageCollection.html, patch bylost lostfreeman@gmail.com.Jia Liu2012-03-021-3/+6
| | | | llvm-svn: 151908
* CodeGen: Create separate VectorBlockGeneratorTobias Grosser2012-03-021-220/+261
| | | | llvm-svn: 151907
* CodeGen: Extract code generation for isl types into its own classTobias Grosser2012-03-021-60/+73
| | | | llvm-svn: 151906
* CodeGen: Remove unneeded member variableTobias Grosser2012-03-021-8/+1
| | | | llvm-svn: 151905
* CodeGen: Extract code into the new function copyVectorInstructionTobias Grosser2012-03-021-26/+34
| | | | llvm-svn: 151904
* CodeGen: Sink loop to iterate vector lanes down into copyInstructionTobias Grosser2012-03-021-46/+35
| | | | llvm-svn: 151903
* CodeGenerator: Rename functions to show they produce vector codeTobias Grosser2012-03-021-10/+11
| | | | llvm-svn: 151902
* Fix typoTobias Grosser2012-03-021-1/+1
| | | | llvm-svn: 151901
* CodeGen: No need to forward the vector dimensionTobias Grosser2012-03-021-23/+26
| | | | llvm-svn: 151900
* CodeGen: Store the vector width in the block generatorTobias Grosser2012-03-021-54/+52
| | | | | | This allows us to remove a lot of redundant parameters. llvm-svn: 151899
* CodeGen: Remove dead codeTobias Grosser2012-03-021-3/+0
| | | | llvm-svn: 151898
* Codegen: Add Pass as a member variable of BlockGeneratorTobias Grosser2012-03-021-7/+8
| | | | llvm-svn: 151897
* CodeGen: Simplify and Prettify codeTobias Grosser2012-03-021-11/+9
| | | | llvm-svn: 151896
* CodeGen: Hide the private implementation of the block generatorTobias Grosser2012-03-021-6/+15
| | | | llvm-svn: 151895
* CodeGen: Start with uppercase letterTobias Grosser2012-03-021-2/+2
| | | | llvm-svn: 151894
* CodeGen: Only check once if a loop is parallelTobias Grosser2012-03-021-11/+17
| | | | | | Suggested by: Sebastian Pop <sebpop@gmail.com> llvm-svn: 151893
* Make the hashing algorithm Endian neutral. This is a bit annoying, butChandler Carruth2012-03-021-0/+6
| | | | | | | | | | folks who know something about PPC tell me that the byte swap is crazy fast and without this the bit mixture would actually be different. It might not be worse, but I've not measured it and so I'd rather not trust it. This way, the algorithm is identical on both endianness hosts. I'll look into any performance issues etc stemming from this. llvm-svn: 151892
* Simplify the pair optimization. Rather than using complex type traits,Chandler Carruth2012-03-023-20/+22
| | | | | | | | | | | | | | just ensure that the number of bytes in the pair is the sum of the bytes in each side of the pair. As long as thats true, there are no extra bytes that might be padding. Also add a few tests that previously would have slipped through the checking. The more accurate checking mechanism catches these and ensures they are handled conservatively correctly. Thanks to Duncan for prodding me to do this right and more simply. llvm-svn: 151891
* Define _WCHAR_T in solaris/wchar.h. This fixes a bug where Solaris 10 headersDavid Chisnall2012-03-021-0/+1
| | | | | | try to define C++ keywords as typedefs (fixed in Solaris 11). llvm-svn: 151890
* Add the Solaris support directory to the header search when using libc++.David Chisnall2012-03-022-1/+6
| | | | | | | | Unconditionally define __C99FEATURES__ when using C++ on Solaris. This is a (hopefully temporary) work around for libc++ exposing C99-but-not-C++98 features in C++98 mode. llvm-svn: 151889
* [asan] Add a negative test for memcpy of long double.Evgeniy Stepanov2012-03-021-0/+8
| | | | llvm-svn: 151888
* ASan: use getTypeAllocSize instead of getTypeStoreSize.Evgeniy Stepanov2012-03-021-1/+1
| | | | | | | | | | | | | | | | This change replaces getTypeStoreSize with getTypeAllocSize in AddressSanitizer instrumentation for stack allocations. One case where old behaviour produced undesired results is an optimization in InstCombine pass (PromoteCastOfAllocation), which can replace alloca(T) with alloca(S), where S has the same AllocSize, but a smaller StoreSize. Another case is memcpy(long double => long double), where ASan will poison bytes 10-15 of a stack-allocated long double (StoreSize 10, AllocSize 16, sizeof(long double) = 16). See http://llvm.org/bugs/show_bug.cgi?id=12047 for more context. llvm-svn: 151887
* Add a golden data test that I missed somehow the first time around.Chandler Carruth2012-03-021-0/+1
| | | | llvm-svn: 151886
OpenPOWER on IntegriCloud