summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert r180189.Rafael Espindola2013-04-241-29/+24
| | | | | | | This should bring the ppc bots back. I will try to write a test that would have found the problem on a little endian system too. llvm-svn: 180194
* MI Sched: eliminate local vreg copies.Andrew Trick2013-04-246-10/+242
| | | | | | | | | | | | | | | | For now, we just reschedule instructions that use the copied vregs and let regalloc elliminate it. I would really like to eliminate the copies on-the-fly during scheduling, but we need a complete implementation of repairIntervalsInRange() first. The general strategy is for the register coalescer to eliminate as many global copies as possible and shrink live ranges to be extended-basic-block local. The coalescer should not have to worry about resolving local copies (e.g. it shouldn't attemp to reorder instructions). The scheduler is a much better place to deal with local interference. The coalescer side of this equation needs work. llvm-svn: 180193
* Register Coalescing: add a flag to disable rescheduling.Andrew Trick2013-04-241-2/+8
| | | | | | | | When MachineScheduler is enabled, this functionality can be removed. Until then, provide a way to disable it for test cases and designing MachineScheduler heuristics. llvm-svn: 180192
* MI Sched: regpressure tracing.Andrew Trick2013-04-241-0/+8
| | | | llvm-svn: 180191
* Formatting fixes.Rafael Espindola2013-04-241-31/+20
| | | | llvm-svn: 180190
* Use a pointer as the relocation iterator.Rafael Espindola2013-04-241-23/+28
| | | | | | | | Since the relocation iterator walks only the relocations in one section, we can just use a pointer and avoid fetching information about the section at every reference. llvm-svn: 180189
* Add include guards.Eric Christopher2013-04-241-0/+5
| | | | llvm-svn: 180188
* Flip flag to merge short if-statements into one line for Google style.Daniel Jasper2013-04-241-1/+2
| | | | | | | This now allows clang-format to do: if (a) return; llvm-svn: 180187
* Formatting.Eric Christopher2013-04-241-1/+1
| | | | llvm-svn: 180186
* clang-format support for multiple input files.Alexander Kornienko2013-04-244-20/+78
| | | | | | | | | | | | | | | | | | | Summary: Added support for multiple input files, that can be used both with and without in-place edit (-i) option. Added checks for -offset and -length options: don't allow them on multiple files, check that they don't fall outside input file, made both options unsigned, so that there's no need to check for negative values. Removed "-1 can be used for end-of-file" from -length description. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D719 llvm-svn: 180185
* tsan: fix stack traces for malloc and freeDmitry Vyukov2013-04-242-0/+29
| | | | llvm-svn: 180184
* tsan: run tests sequentially otherwise cmake says:Dmitry Vyukov2013-04-241-2/+3
| | | | | | make[3]: make[3]: /bin/sh: ../../../../../bin/clang: Text file busy llvm-svn: 180183
* tsan: disable getpwuid_r() and glob64() interceptors under tsan, because ↵Dmitry Vyukov2013-04-242-1/+12
| | | | | | they cause interceptor recursion if user intercepts fopen() llvm-svn: 180182
* [analyzer] Refactoring + explanatory comment.Anton Yartsev2013-04-241-9/+11
| | | | llvm-svn: 180181
* tsan: fix crash when data race happens on out-of-bounds accesses.Dmitry Vyukov2013-04-243-4/+9
| | | | llvm-svn: 180180
* Release note the change to clang_CXCursorSet_contains().Ted Kremenek2013-04-241-0/+10
| | | | llvm-svn: 180178
* Fix typo in comparison in clang_CXCursorSet_contains().Ted Kremenek2013-04-241-1/+1
| | | | | | | | | | Fixes PR 10124. Patch by Jens Kilian. Thanks to Nikola Smiljanic for following up. llvm-svn: 180177
* Revert "Remove CXCursorSet and related APIs. There are no known clients."Ted Kremenek2013-04-243-0/+102
| | | | | | Apparently there are... llvm-svn: 180176
* Add test case for -Wdeprecated-objc-pointer-introspection, andTed Kremenek2013-04-242-1/+9
| | | | | | tweak warning to suggest that it is just a bad thing to do. llvm-svn: 180175
* Remove CXCursorSet and related APIs. There are no known clients.Ted Kremenek2013-04-243-102/+0
| | | | llvm-svn: 180174
* Fix comment alignment behavior.Daniel Jasper2013-04-243-3/+12
| | | | | | | | | | | In the following snippet, clang-format incorrectly aligned the trailing comment, when only the last line was formatted: int aaaaaa; // comment int b; int c; // Formatting only this line moved this comment. llvm-svn: 180173
* Add some more required SPARC v9 predefined macros.Jakob Stoklund Olesen2013-04-241-0/+9
| | | | | | Solaris/AuroraUX only need __arch64__, the BSDs need the other variants. llvm-svn: 180172
* Align the __LD,__compact_unwind section.Bill Wendling2013-04-241-7/+16
| | | | | | | | I know what would be cool! We should align the compact unwind section because aligned data access is faster. <rdar://problem/13723271> llvm-svn: 180171
* [analyzer] IvarInvalidation: correctly handle cases where only partial ↵Anna Zaks2013-04-242-13/+75
| | | | | | | | | | | | invalidators exist - If only partial invalidators exist and there are no full invalidators in @implementation, report every ivar that has not been invalidated. (Previously, we reported the first Ivar in the list, which could actually have been invalidated by a partial invalidator. The code assumed you cannot have only partial invalidators.) - Do not report missing invalidation method declaration if a partial invalidation method declaration exists. llvm-svn: 180170
* remove cbe backend from sample configureJia Liu2013-04-242-2/+2
| | | | llvm-svn: 180169
* Cleanup testcase and ensure we actually exercise the inliner.Adrian Prantl2013-04-241-138/+144
| | | | | | rdar://problem/12415623 llvm-svn: 180168
* Fixed a problem where the expression parser wouldSean Callanan2013-04-248-9/+145
| | | | | | | | | | | | | | not find multiple functions with the same name but different types. Now we keep track of what types we've already reported for a function and only elide functions if we've already reported a conflicting one. Also added a test case. <rdar://problem/11367837> llvm-svn: 180167
* [analyzer] Set the allocation site to be the uniqueing location for retain ↵Anna Zaks2013-04-235-36/+45
| | | | | | | | | | count checker leaks. The uniqueing location is the location which is part of the hash used to determine if two reports are the same. This is used by the CmpRuns.py script to compare two analyzer runs and determine which warnings are new. llvm-svn: 180166
* [analyzer] Refactor BugReport::getLocation and ↵Anna Zaks2013-04-2316-629/+1701
| | | | | | | | | | | | | | | PathDiagnosticLocation::createEndOfPath for greater code reuse The 2 functions were computing the same location using different logic (each one had edge case bugs that the other one did not). Refactor them to rely on the same logic. The location of the warning reported in text/command line output format will now match that of the plist file. There is one change in the plist output as well. When reporting an error on a BinaryOperator, we use the location of the operator instead of the beginning of the BinaryOperator expression. This matches our output on command line and looks better in most cases. llvm-svn: 180165
* Update checker build.Ted Kremenek2013-04-232-1/+11
| | | | llvm-svn: 180164
* Use the new iOS deployment target command-line options.Bob Wilson2013-04-231-3/+3
| | | | | | | | We now rely on the -mios-simulator-version-min option to identify the iOS simulator target. I'm not sure if there's anything in compiler-rt where that matters, but it's the right thing to do regardless. llvm-svn: 180163
* Machine model: Generate table entries for super-resources.Andrew Trick2013-04-231-14/+23
| | | | | | | | | Super-resources and resource groups are two ways of expressing overlapping sets of processor resources. Now we generate table entries the same way for both so the scheduler never needs to explicitly check for super-resources. llvm-svn: 180162
* Machine model: verify well-formed processor resource groups.Andrew Trick2013-04-232-0/+54
| | | | llvm-svn: 180161
* Machine model: rewrite a tablegen loop to avoid comparing record pointers.Andrew Trick2013-04-231-8/+4
| | | | llvm-svn: 180160
* Comment a strange field in ScheduleDAG.Andrew Trick2013-04-231-0/+4
| | | | llvm-svn: 180159
* Fix missing module name in expectedFailure callsDaniel Malea2013-04-231-2/+2
| | | | llvm-svn: 180158
* Fix dependency layering issues caused by r180112.Eric Christopher2013-04-233-3/+4
| | | | | | Patch by Tom Stellard. (Committed while he's afk per request) llvm-svn: 180157
* Closing parentheses is good - doing it while respecting printf format ↵Enrico Granata2013-04-231-1/+1
| | | | | | specifiers is even better llvm-svn: 180156
* <rdar://problem/13298695>Greg Clayton2013-04-232-6/+21
| | | | | | | | | | | | | Fixed LLDB to be able to correctly parse template parameters that have no name and no type. This can be triggered by the following LLVM/Clang code: template <typename T, typename = void> class SmallVectorTemplateCommon : public SmallVectorBase { The “typename = void” was emitting DWARF with an empty DW_AT_name and no DW_AT_type. We now correctly infer that no DW_AT_type means “void” and that an empty name is ok. This means you can now call functions on things that inherit from SmallVectorTemplateCommon. llvm-svn: 180155
* Also look for kexts in /Library/Extensions if that directory exists.Jason Molenda2013-04-231-0/+6
| | | | llvm-svn: 180154
* Be sure to print out the fully mangled name when we are unable to find a ↵Greg Clayton2013-04-231-0/+4
| | | | | | function to call so we can easily look for this symbol if needed. llvm-svn: 180151
* Fixing cmake build for MCJIT unit testsAndrew Kaylor2013-04-231-0/+1
| | | | llvm-svn: 180150
* Adding basic test for thread state (See PR-15824)Andrew Kaylor2013-04-233-0/+186
| | | | llvm-svn: 180149
* char32_t should use an uppercase U as its prefixEnrico Granata2013-04-231-1/+1
| | | | llvm-svn: 180148
* Fixing typo in comment.Andrew Kaylor2013-04-231-1/+1
| | | | llvm-svn: 180147
* Adding object caching support to MCJITAndrew Kaylor2013-04-235-18/+366
| | | | llvm-svn: 180146
* Hexagon: Use multiclass for combine and STri[bhwd]_shl_V4 instructions.Jyotsna Verma2013-04-233-176/+194
| | | | llvm-svn: 180145
* Hexagon: Define relations for GP-relative instructions.Jyotsna Verma2013-04-231-15/+17
| | | | | | No functionality change. llvm-svn: 180144
* Added 64-bit POSIX support to write floating-point vector registers.Ashok Thirumurthi2013-04-232-2/+27
| | | | | | | | - Includes tests that write, read and verify vector register content. Reviewed by: Daniel Malea llvm-svn: 180143
* Closing parentheses once they are open is a good ideaEnrico Granata2013-04-231-1/+1
| | | | llvm-svn: 180142
OpenPOWER on IntegriCloud