summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* whitespaceMichael Ilseman2012-09-171-1/+1
| | | | llvm-svn: 164043
* Fix PR13859Michael Liao2012-09-172-6/+35
| | | | | | | - Preserve the original NOutVT during casting from vector to integer by extracting vector elements. llvm-svn: 164042
* TableGen: Add initializer.Jim Grosbach2012-09-171-1/+1
| | | | | | | Keep GCC's warnings happy. It can't reason out that the state machine won't ever hit the potentially uninitialized use in OPC_FilterValue. llvm-svn: 164041
* s/__llvm_gcov_flush/__gcov_flush/gBill Wendling2012-09-171-4/+4
| | | | llvm-svn: 164040
* -Warc-retain-cycles: look through [^{...} copy] and Block_copy(^{...})Jordan Rose2012-09-172-0/+49
| | | | | | | | | | | | | Retain cycles happen in the case where a block is persisted past its life on the stack, and the way that occurs is by copying the block. We should thus look through any explicit copies we see. Note that Block_copy is actually a type-safe wrapper for _Block_copy, which does all the real work. <rdar://problem/12219663> llvm-svn: 164039
* LLVM_ATTRIBUTE_USED forces emission of a function. To silence unused ↵Benjamin Kramer2012-09-171-2/+2
| | | | | | function warnings use LLVM_ATTRIBUTE_UNUSED. llvm-svn: 164036
* NewSROA: Provide a full set of operator< for ByteRanges.Benjamin Kramer2012-09-171-2/+7
| | | | | | MSVC8 won't compile lower_bound if one is missing. llvm-svn: 164035
* Don't write uninitialized values even if nobody ever asks for it.Axel Naumann2012-09-171-1/+1
| | | | llvm-svn: 164033
* Fix a few vars that can end up being used without initialization.Axel Naumann2012-09-173-3/+3
| | | | | | The cases where no initialization happens should still be checked for logic flaws. llvm-svn: 164032
* Run install_name_tool to fix the dynamic library ID after it has been copied.Alexander Potapenko2012-09-171-0/+2
| | | | | | Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=113 llvm-svn: 164031
* Removed the VMLxForwarding feature for the Cortex-A15 target.Silviu Baranga2012-09-172-2/+13
| | | | llvm-svn: 164030
* Add a MachinePostDominator passTom Stellard2012-09-175-0/+143
| | | | | | This is used in the AMDIL and R600 backends. llvm-svn: 164029
* Open up a few higher-level functions for tools.Axel Naumann2012-09-171-17/+34
| | | | llvm-svn: 164028
* Add ELFReference class - parse relocations needed by that class and update ↵Sid Manning2012-09-173-160/+465
| | | | | | DefinedAtom to use the class. Tweak coding style. Add testcase to check relocations. Change was signed-off-by: Michael Spencer llvm-svn: 164027
* 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
OpenPOWER on IntegriCloud