summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify code.Jakub Staszak2012-12-061-3/+1
| | | | llvm-svn: 169521
* Clang-format: IndentCaseLabels option, proper namespace handlingAlexander Kornienko2012-12-065-124/+220
| | | | | | | | | | | | | | Summary: + tests arranged in groups, as their number is already quite large. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D185 llvm-svn: 169520
* Fixes a typo in this test.Fariborz Jahanian2012-12-061-1/+1
| | | | llvm-svn: 169519
* Clang-format: detect unbalanced braces.Alexander Kornienko2012-12-062-2/+4
| | | | | | | | | | | | Reviewers: klimek, djasper Reviewed By: klimek CC: cfe-commits, silvas Differential Revision: http://llvm-reviews.chandlerc.com/D176 llvm-svn: 169518
* Hexagon TC: Add/improve support for small dataMatthew Curtis2012-12-063-10/+127
| | | | | | threshold, pic, pie llvm-svn: 169517
* Fix a bug in the code that merges consecutive stores. Previously we did notNadav Rotem2012-12-062-10/+37
| | | | | | | check if loads that happen in between stores alias with the first store in the chain, only with the second store onwards. llvm-svn: 169516
* Merge rename fix from libcxxabi (r169402: rename class with name that ↵Daniel Malea2012-12-061-3/+3
| | | | | | clashes with GCC 4.6/4.7) llvm-svn: 169515
* [sanitizer] POD-ify the allocator cache Kostya Serebryany2012-12-061-2/+1
| | | | llvm-svn: 169514
* Fix hexagon-toolchain.c test to handle versioned clang executables.Matthew Curtis2012-12-061-12/+15
| | | | llvm-svn: 169513
* Hexagon TC: Reimplement Link::ConstructJob to callMatthew Curtis2012-12-066-51/+550
| | | | | | | | linker directly Rather than calling gcc. llvm-svn: 169512
* tsan: fix lint warning and make output tests more robustDmitry Vyukov2012-12-069-23/+29
| | | | llvm-svn: 169511
* Sema: Don't emit a warning when __func__ is used in a lambda outside of a ↵Benjamin Kramer2012-12-062-2/+12
| | | | | | | | function. Fixes PR14518. llvm-svn: 169510
* test/Driver/hexagon-toolchain.c: Unbreak XPASS. Cygwin can be treated as ↵NAKAMURA Takumi2012-12-061-1/+1
| | | | | | unix-like system. llvm-svn: 169509
* Implements multiple parents in the parent map.Manuel Klimek2012-12-062-23/+84
| | | | | | | Previously we would match the last visited parent, which in the case of template instantiations was the last instantiated template. llvm-svn: 169508
* [asan/msan] one more test for 32-bit allocator + minor code simplificationKostya Serebryany2012-12-062-9/+21
| | | | llvm-svn: 169507
* [asan/msan] add BulkAllocate to the 32-bit allocator (and a test)Kostya Serebryany2012-12-062-15/+48
| | | | llvm-svn: 169506
* Hexagon TC: Move getHexagonTargetCPU from Tools.cpp toMatthew Curtis2012-12-064-52/+82
| | | | | | | | | | | | ToolChains.cpp This is in anticipation of forthcoming library path changes. Also ... - Fixes some inconsistencies in how the arch is passed to tools. - Add test cases for various forms of arch flags llvm-svn: 169505
* MemorySanitizer.cpp: Suppress a warning. [-Wunused-variable]NAKAMURA Takumi2012-12-061-0/+1
| | | | llvm-svn: 169504
* [asan/msan] refactor allocator's BulkAllocate (move to AllocatorFreeList) Kostya Serebryany2012-12-061-13/+22
| | | | llvm-svn: 169503
* tsan: add new file to cmakeDmitry Vyukov2012-12-061-0/+1
| | | | llvm-svn: 169502
* tsan: add some more functions for java filteringDmitry Vyukov2012-12-061-0/+2
| | | | llvm-svn: 169501
* Improve clang-format's handling of unary operators.Daniel Jasper2012-12-062-0/+15
| | | | llvm-svn: 169500
* [asan/msan] add GetBlockBegin to the 32-bit allocator (+test) Kostya Serebryany2012-12-062-1/+14
| | | | llvm-svn: 169499
* Disable hexagon toolchain test on windows targetsMatthew Curtis2012-12-061-0/+3
| | | | llvm-svn: 169498
* [asan/msan] one more test for 32-bit allocatorKostya Serebryany2012-12-061-9/+13
| | | | llvm-svn: 169497
* [asan/msan] new 32-bit allocator, basic functionality so farKostya Serebryany2012-12-062-20/+182
| | | | llvm-svn: 169496
* Hexagon TC: Update toolchain to add appropriate includeMatthew Curtis2012-12-0612-26/+172
| | | | | | | | | | paths - Inherit from Linux rather than ToolChain - Override AddClangSystemIncludeArgs and AddClangCXXStdlibIncludeArgs to properly set include paths. llvm-svn: 169495
* tsan: add 'free' to java nonsense reportsDmitry Vyukov2012-12-061-0/+1
| | | | llvm-svn: 169494
* tsan: add mutexsets to reportsDmitry Vyukov2012-12-0640-78/+852
| | | | | | With this change reports say what mutexes the threads hold around the racy memory accesses. llvm-svn: 169493
* clang/test/CodeGen/2008-01-07-UnusualIntSize.c: Add triple x86_64. It ↵NAKAMURA Takumi2012-12-061-1/+2
| | | | | | doesn't assume 32-bit target, for now. llvm-svn: 169492
* [msan] Fix a typo in a comment.Evgeniy Stepanov2012-12-061-1/+1
| | | | llvm-svn: 169491
* [msan] Do not store origin for clean values.Evgeniy Stepanov2012-12-062-17/+83
| | | | | | | | | | | | | | | | | | Instead of unconditionally storing origin with every application store, only do this when the shadow of the stored value is != 0. This change also delays instrumentation of stores until after the walk over function's instructions, because adding new basic blocks confuses InstVisitor. We only keep 1 origin value per 4 bytes of application memory. This change fixes the bug when a store of a single clean byte wiped the origin for the whole 4-byte area. Since stores of uninitialized values are relatively uncommon, this change improves performance of track-origins mode by 5% median and by up to 47% on specs. llvm-svn: 169490
* Rework the bitfield access IR generation to address PR13619 andChandler Carruth2012-12-0615-573/+578
| | | | | | | | | | | | | | | | | | | | | | | | | | generally support the C++11 memory model requirements for bitfield accesses by relying more heavily on LLVM's memory model. The primary change this introduces is to move from a manually aligned and strided access pattern across the bits of the bitfield to a much simpler lump access of all bits in the bitfield followed by math to extract the bits relevant for the particular field. This simplifies the code significantly, but relies on LLVM to intelligently lowering these integers. I have tested LLVM's lowering both synthetically and in benchmarks. The lowering appears to be functional, and there are no really significant performance regressions. Different code patterns accessing bitfields will vary in how this impacts them. The only real regressions I'm seeing are a few patterns where the LLVM code generation for loads that feed directly into a mask operation don't take advantage of the x86 ability to do a smaller load and a cheap zero-extension. This doesn't regress any benchmark in the nightly test suite on my box past the noise threshold, but my box is quite noisy. I'll be watching the LNT numbers, and will look into further improvements to the LLVM lowering as needed. llvm-svn: 169489
* "<<" alignment for clang-format.Daniel Jasper2012-12-062-7/+67
| | | | | | | Also, small fix for handling the first token correctly. Review: http://llvm-reviews.chandlerc.com/D177 llvm-svn: 169488
* Integrate polly test-suite into an llvm "make check-all" if built as part of ↵Andy Gibbs2012-12-062-35/+50
| | | | | | the whole using cmake. llvm-svn: 169487
* s/getLowerBoundDefault/getDefaultLowerBound/ for consistency. Also put the ↵Bill Wendling2012-12-062-5/+7
| | | | | | more natural check first in the if-then statement. llvm-svn: 169486
* Remove unused variable.Bill Wendling2012-12-061-1/+1
| | | | llvm-svn: 169485
* Handle non-default array bounds.Bill Wendling2012-12-064-15/+108
| | | | | | | | | Some languages, e.g. Ada and Pascal, allow you to specify that the array bounds are different from the default (1 in these cases). If we have a lower bound that's non-default, then we emit the lower bound. We also calculate the correct upper bound in those cases. llvm-svn: 169484
* Remove intrinsic specific instructions for (V)MOVQUmr with patterns pointing ↵Craig Topper2012-12-062-14/+9
| | | | | | to the normal instructions. llvm-svn: 169482
* Use the BlockDecl captures list to infer the direct captures for a ↵Ted Kremenek2012-12-062-7/+10
| | | | | | | | | BlockDataRegion. Fixes <rdar://problem/12415065>. We still need to do a recursive walk to determine all static/global variables referenced by a block, which is needed for region invalidation. llvm-svn: 169481
* Only provide explicit getCapturedRegion() and getOriginalRegion() from ↵Ted Kremenek2012-12-065-17/+9
| | | | | | | | referenced_vars_iterator. This is a nice conceptual cleanup. llvm-svn: 169480
* Pull logic to map from VarDecl* to captured region using a helper function. ↵Ted Kremenek2012-12-062-17/+26
| | | | | | WIP. llvm-svn: 169479
* Use 'getOriginalRegion()' rather than going through the logic to recreate it.Ted Kremenek2012-12-061-3/+1
| | | | llvm-svn: 169478
* Mark MOVDQ(A/U)rm as ReMaterializable. Mark all MOVDQ(A/U) instructions as ↵Craig Topper2012-12-062-4/+9
| | | | | | neverHasSideEffects. llvm-svn: 169477
* Fix http://stackoverflow.com/questions/13521163Richard Smith2012-12-062-13/+17
| | | | | | | | | | | Don't require that, during template deduction, a template specialization type as a function parameter has at least as many template arguments as one used in a function argument (not even if the argument has been resolved to an exact type); the additional parameters might be provided by default template arguments in the template. We don't need this check, since we now implement [temp.deduct.call]p4 with an additional check after deduction. llvm-svn: 169475
* [tsan] add MmapAlignedOrDieKostya Serebryany2012-12-063-0/+38
| | | | llvm-svn: 169474
* Don't use dyn_cast on a Type* which might not be canonical. Fixes an ↵Richard Smith2012-12-062-1/+17
| | | | | | extremely obscure record layout bug. llvm-svn: 169467
* Fix ABIMacOSX_i386::RegisterIsVolatile to return the negated value of Jason Molenda2012-12-061-2/+2
| | | | | | | | RegisterIsCalleeSaved. Add ebp back to the list of registers that are callee saved. <rdar://problem/12817918> llvm-svn: 169466
* <rdar://problem/12560257>Greg Clayton2012-12-0610-377/+448
| | | | | | Fixed zero sized arrays to work correctly. This will only happen once we get a clang that emits correct debug info for zero sized arrays. For now I have marked the TestStructTypes.py as an expected failure. llvm-svn: 169465
* Properly fix the tes.Evan Cheng2012-12-061-2/+1
| | | | llvm-svn: 169464
OpenPOWER on IntegriCloud