summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add Michael Spencer's iterator class for stepping through relocations. Add ↵Sid Manning2012-09-171-0/+85
| | | | | | method that, given a symbol index, will return the symbol's data. llvm-svn: 164026
* Update linux stdio.h to support the recent additions to GCDAProfiling.Benjamin Kramer2012-09-171-0/+7
| | | | | | Hopefully unbreaks compiler-rt build on linux. llvm-svn: 164025
* Disable the protection from escaped allocas in an attempt to find violating ↵Nadav Rotem2012-09-171-2/+1
| | | | | | passes. This may break the buildbots. I plan to revert it in a few hours. llvm-svn: 164024
* [TSan] Actually delete moved dirs with testsAlexey Samsonov2012-09-170-0/+0
| | | | llvm-svn: 164023
* [TSan] move: rtl_tests->tests/rtl unit_tests->tests/unit to make a single ↵Alexey Samsonov2012-09-1728-29/+78
| | | | | | root for gtest-based tests. Support running these tests from lit via check-tsan command. llvm-svn: 164022
* [TSan] If we detect an unlimited stack, try to re-exec with limited stackAlexey Samsonov2012-09-171-0/+11
| | | | llvm-svn: 164021
* [Sanitizer] Hoist functions to get/set stack size and re-exec from ↵Alexey Samsonov2012-09-175-2/+57
| | | | | | memory-sanitizer branch to sanitizer_common llvm-svn: 164020
* [ASan] increase sleep time if ASan finds two bugs simultaneously to make ↵Alexey Samsonov2012-09-171-7/+13
| | | | | | sure full error report is printed llvm-svn: 164018
* Mark unimplemented copy constructors and copy assignment operators as ↵Craig Topper2012-09-1716-37/+39
| | | | | | LLVM_DELETED_FUNCTION. llvm-svn: 164017
* Mark unimplemented copy constructors and copy assignment operators as ↵Craig Topper2012-09-1717-42/+44
| | | | | | LLVM_DELETED_FUNCTION. llvm-svn: 164016
* Mark unimplemented copy constructors and copy assignment operators as ↵Craig Topper2012-09-177-32/+25
| | | | | | LLVM_DELETED_FUNCTION. llvm-svn: 164015
* Mark unimplemented copy constructors and copy assignment operators as ↵Craig Topper2012-09-1712-28/+30
| | | | | | LLVM_DELETED_FUNCTION. llvm-svn: 164014
* Remove a couple unused fields. Not detected by Wunused-private-field because ↵Craig Topper2012-09-171-1/+0
| | | | | | of unimplemented copy constructor and copy assignment operator that make the class look incomplete. Upcoming patch will mark them deleted. llvm-svn: 164013
* Fix typoMichael Liao2012-09-171-1/+1
| | | | llvm-svn: 164012
* tsan: increase internal memory block limit 1GB->4GBDmitry Vyukov2012-09-171-1/+1
| | | | llvm-svn: 164011
* tsan: reserve msb in stack depot id's (required for msan)Dmitry Vyukov2012-09-172-3/+7
| | | | llvm-svn: 164010
* Add include of Compiler.h to fix build bot failures.Craig Topper2012-09-161-0/+1
| | | | llvm-svn: 164009
* Add includes of Compiler.h to fix build bot failures.Craig Topper2012-09-162-0/+2
| | | | llvm-svn: 164008
* Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment ↵Craig Topper2012-09-161-38/+36
| | | | | | operators that aren't implemented. llvm-svn: 164007
* Use LLVM_DELETED_FUNCTION for copy constructors and copy assignment ↵Craig Topper2012-09-1618-48/+59
| | | | | | operators that aren't implemented. llvm-svn: 164006
* Add LLVM_OVERRIDE and LLVM_FINAL C++11 compatibility macros.Craig Topper2012-09-161-0/+16
| | | | llvm-svn: 164005
* Align <atomic> with clang r163964 which disallows const _Atomic types.Howard Hinnant2012-09-161-1/+1
| | | | llvm-svn: 164004
* Refactor the SROA visitors for partitioning an alloca and buildingChandler Carruth2012-09-161-24/+29
| | | | | | | | | | | | | | | | | | | | | partition use lists a bit. No functionality changed. These visitors are actually visiting a tuple of a Use and an offset into the alloca. However, we use the InstVisitor to handle the dispatch over the users, and so the Use and Offset are stored in class member variables and set just before each call to visit(). This is fairly awkward and makes the functions a bit harder to read, but its the only real option we have until InstVisitor can be rewritten to use variadic templates. However, this pattern shouldn't be followed on the helper member functions where there is no interface constraint from the visitor. We already were passing the instruction as a normal parameter rather than use the Use to get at it, start passing the offset as well. This will become more important in subsequent patches as the offset will in some cases change while visiting a single instruction. llvm-svn: 164003
* Add 'virtual' keywoards to output file for overridden functions.Craig Topper2012-09-161-5/+6
| | | | llvm-svn: 164002
* Change unsigned to uint32_t to match base class declaration and other targets.Craig Topper2012-09-162-2/+2
| | | | llvm-svn: 164001
* Fix bad comment. No functional change.Craig Topper2012-09-161-1/+1
| | | | llvm-svn: 164000
* Add 'virtual' keywoards to output file for overridden functions.Craig Topper2012-09-161-7/+7
| | | | llvm-svn: 163999
* Fix the testcase to work on all platforms.Nadav Rotem2012-09-161-1/+1
| | | | llvm-svn: 163997
* Add explicit virtual keywords for methods that override base class.Craig Topper2012-09-161-24/+25
| | | | llvm-svn: 163996
* The PMOVZXWD family of functions had patterns extends narrow vector types to ↵Nadav Rotem2012-09-162-0/+46
| | | | | | | | | | | wide vector types. It had patterns for zext-loading and extending. This commit adds patterns for loading a wide type, performing a bitcast, and extending. This is an odd pattern, but it is commonly used when writing code with intrinsics. rdar://11897677 llvm-svn: 163995
* Fix dead store found by static analyzer.Ted Kremenek2012-09-161-5/+2
| | | | llvm-svn: 163994
* Guard fields by NDEBUG until they get used in the release build.Andrew Trick2012-09-161-2/+2
| | | | llvm-svn: 163993
* Tidy up formatting of some elses on a separate line from preceding bracing. ↵Craig Topper2012-09-161-5/+5
| | | | | | No functional change. llvm-svn: 163992
* Add alternative coalescing algorithm under a flag.Jakob Stoklund Olesen2012-09-161-0/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The live range of an SSA value forms a sub-tree of the dominator tree. That means the live ranges of two values overlap if and only if the def of one value lies within the live range of the other. This can be used to simplify the interference checking a bit: Visit each def in the two registers about to be joined. Check for interference against the value that is live in the other register at the def point only. It is not necessary to scan the set of overlapping live ranges, this interference check can be done while computing the value mapping required for the final live range join. The new algorithm is prepared to handle more complicated conflict resolution - We can allow overlapping live ranges with different values as long as the differing lanes are undef or unused in the other register. The implementation in this patch doesn't do that yet, it creates code that is nearly identical to the old algorithm's, except: - The new stripCopies() function sees through multiple copies while the old RegistersDefinedFromSameValue() only can handle one. - There are a few rare cases where the new algorithm can erase an IMPLICIT_DEF instuction that RegistersDefinedFromSameValue() couldn't handle. llvm-svn: 163991
* Fix problem when using LiveRangeQuery with block entries.Jakob Stoklund Olesen2012-09-161-1/+3
| | | | | | | | | | A value that is live in to a basic block should be returned by valueIn() in LiveRangeQuery(getMBBStartIdx(MBB)), unless it is a PHI-def which should be returned by valueDefined() instead. Current code isn't using this functionality. Future code will. llvm-svn: 163990
* Update the PCH internals documentation to cover chained precompiledDouglas Gregor2012-09-161-97/+223
| | | | | | | headers and modules in more detail. I'd still like to expand on some of the modules-related issues further, but this is a decent start. llvm-svn: 163989
* Tidy up trailing whitespace.Craig Topper2012-09-161-32/+32
| | | | llvm-svn: 163988
* Remove unneeded header.Craig Topper2012-09-161-1/+0
| | | | llvm-svn: 163987
* Comment parsing: support \namespace like other commands that contain just aDmitri Gribenko2012-09-151-5/+6
| | | | | | declaration for the entity being documented. llvm-svn: 163986
* Comment parsing: don't treat typedef to a typedef to a function as aDmitri Gribenko2012-09-152-8/+6
| | | | | | | | 'function-like' type that can be annotated with \param. Thanks to Eli Friedman for noticing! llvm-svn: 163985
* Fix Doxygen issues: wrap code examples in \code and use \p to refer toDmitri Gribenko2012-09-153-5/+8
| | | | | | parameters. llvm-svn: 163984
* Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.Dmitri Gribenko2012-09-1538-88/+90
| | | | llvm-svn: 163983
* Make PTHManager properly noncopyable.Dmitri Gribenko2012-09-151-3/+2
| | | | llvm-svn: 163982
* Address a long-standing FIXME: remove an unused copy constructor and makeDmitri Gribenko2012-09-151-13/+3
| | | | | | UnqualifiedId() properly noncopyable. llvm-svn: 163981
* Fix includes of llvm and clang files that used angle brackets.Craig Topper2012-09-151-5/+5
| | | | llvm-svn: 163980
* Fix includes of llvm files that used angle brackets.Craig Topper2012-09-154-16/+16
| | | | llvm-svn: 163979
* Fix a couple include directives that used angle brackets for llvm files.Craig Topper2012-09-152-2/+2
| | | | llvm-svn: 163978
* Use LLVM_DELETED_FUNCTION in place of 'DO NOT IMPLEMENT' comments.Craig Topper2012-09-1514-38/+41
| | | | llvm-svn: 163974
* Remove unused private fields to silence -Wunused-private-field.Craig Topper2012-09-151-9/+6
| | | | llvm-svn: 163973
* Don't depend on kill flags in removeCopyByCommutingDef().Jakob Stoklund Olesen2012-09-151-1/+1
| | | | | | | Kill flags are removed more and more aggressively during the register allocation passes, it is better to get information from LiveIntervals. llvm-svn: 163972
OpenPOWER on IntegriCloud