summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add proper copyright headerShankar Easwaran2013-02-012-2/+2
| | | | llvm-svn: 174178
* Remove currently unused register decoder from AArch64.Tim Northover2013-02-011-14/+0
| | | | | | This should fix a warning when building this backend. llvm-svn: 174177
* Revise unit testing for -fno-altivec, -mno-altivec.Bill Schmidt2013-02-012-12/+49
| | | | | | | As suggested, reverted the end-to-end test and added variations to an existing Driver test. llvm-svn: 174176
* tsan: even if races between atomic and plain memory accesses are turned off ↵Dmitry Vyukov2013-02-018-12/+101
| | | | | | | | (report_atomic_races=0), still report races between atomic accesses and free(). llvm-svn: 174175
* libclang: itroduce cxstring::createEmpty()Dmitri Gribenko2013-02-0110-43/+53
| | | | llvm-svn: 174174
* libclang: introduce cxstring::createNull()Dmitri Gribenko2013-02-016-26/+36
| | | | llvm-svn: 174173
* Re-design the convenience interfaces on MatchFinder.Manuel Klimek2013-02-013-54/+112
| | | | | | | | | | | | First, this implements a match() method on MatchFinder; this allows us to get rid of the findAll implementation, as findAll is really a special case of recursive matchers on match. Instead of findAll, provide a convenience function match() that lets users iterate easily over the results instead of needing to implement callbacks. llvm-svn: 174172
* Use const visitors in ASTDumper.Alexander Kornienko2013-02-014-235/+276
| | | | | | | http://llvm-reviews.chandlerc.com/D355 Patch by Philip Craig! llvm-svn: 174171
* Add explicit triples to AArch64 testsTim Northover2013-02-0176-83/+83
| | | | | | | | Only Linux is supported at the moment, and other platforms quickly fault. As a result these tests would fail on non-Linux hosts. It may be worth making the tests more generic again as more platforms are supported. llvm-svn: 174170
* Hopefully fix windows build due to non-standard pair implementation.Daniel Jasper2013-02-011-1/+1
| | | | llvm-svn: 174169
* tsan: say that the memory access is atomic in reportsDmitry Vyukov2013-02-016-4/+42
| | | | llvm-svn: 174168
* tsan: remember 2 stack frames for atomics (caller and atomic itself)Dmitry Vyukov2013-02-011-14/+19
| | | | llvm-svn: 174167
* Revamp of the basic layouting algorithm in clang-format.Daniel Jasper2013-02-011-117/+122
| | | | | | | | | | | | | | | | | | | | In order to end up with good solutions, clang-format needs to try "all" combinations of line breaks, evaluate them and select the best one. Before, we have done this using a DFS with memoization and cut-off conditions. However, this approach is very limited as shown by the huge static initializer in the attachment of llvm.org/PR14959. Instead, this new implementation uses a variant of Dijkstra's algorithm to do a prioritized BFS over the solution space. Some numbers: lib/Format/TokenAnnotator.cpp: 1.5s -> 0.15s Attachment of PR14959: 10min+ (didn't finish) -> 10s No functional changes intended. llvm-svn: 174166
* tsan: add flag to not report races between atomic and plain memory accessesDmitry Vyukov2013-02-013-4/+13
| | | | llvm-svn: 174165
* tsan: flip is_write bit in shadow to is_readDmitry Vyukov2013-02-012-14/+14
| | | | | | this makes calculation of interesting predicates faster llvm-svn: 174164
* tsan: detect races between plain and atomic memory accessesDmitry Vyukov2013-02-0116-89/+283
| | | | llvm-svn: 174163
* [Docs] Update status :)Michael J. Spencer2013-02-011-3/+2
| | | | llvm-svn: 174162
* [ELF][x86-64] Fix ifunc and add test.Michael J. Spencer2013-02-013-2/+13
| | | | | | | | | In an previous commit I managed to completely disable the IRELATIVE relocation writing code. I also used the wrong addend for the static relocation. Fix both these issues and add a test. This test is quite brittle because there's no way to do arithmetic on variables in FileCheck. llvm-svn: 174161
* Fix diagnostic for bad alignas use: it can't be applied to functions.Richard Smith2013-02-014-6/+11
| | | | llvm-svn: 174160
* Add a new -Wundefined-inline warning for inline functions which are used but notNick Lewycky2013-02-0114-66/+169
| | | | | | defined. Fixes PR14993! llvm-svn: 174158
* Implement [dcl.align]p5 and C11 6.7.5/4: alignas cannot underalign.Richard Smith2013-02-019-42/+181
| | | | | | Also support alignas(0), which C++11 and C11 require us to ignore. llvm-svn: 174157
* Revert r174152. The shift amount may overflow and in that case this ↵Nadav Rotem2013-02-012-26/+0
| | | | | | transformation is illegal. llvm-svn: 174156
* [ELF][x86-64] Implement static relocation model for TLS.Michael J. Spencer2013-02-019-47/+266
| | | | | | This implements the static relocation model for GOT accesses to TLS. llvm-svn: 174155
* [ELF][x86-84] Add static TLS support.Michael J. Spencer2013-02-0111-27/+113
| | | | llvm-svn: 174154
* Modified the expression parser's class wrapper toSean Callanan2013-02-014-35/+85
| | | | | | | | | | | | | | | | | | | | | | | | | support reporting "this" as a templated class. The expression parser wraps expressions in C++ methods as methods with the signature $__lldb_class::$__lldb_expr(...) and previously responded to clang's queries about $__lldb_class with the type of *this. This didn't work if *this was a ClassTemplateSpecializationDecl because ClassTemplateSpecializationDecls can't be the result of simple name queries. Instead what we do now is respond that $__lldb_class is a typedef and that the target of the typedef is the (potentially templated) type of *this. That is much more robust. Thanks to John McCall for key insights. <rdar://problem/10987183> llvm-svn: 174153
* Optimize shift lefts of a constant by a value plus constant into a single shift.Nadav Rotem2013-02-012-0/+26
| | | | llvm-svn: 174152
* Add PPC A2Q core and BG/Q preprocessor definitionsHal Finkel2013-02-014-2/+42
| | | | | | The a2q core is the variant of the a2 core used on the BG/Q supercomputers. llvm-svn: 174151
* [ELF][x86-64] Add the _GLOBAL_OFFSET_TABLE_ Atom in the correct location.Michael J. Spencer2013-02-012-3/+42
| | | | | | Now we link against glibc without --noinhibit-exec. llvm-svn: 174150
* [ELF] Add more absolute atoms. Simplify how they are resolved.Michael J. Spencer2013-02-011-14/+22
| | | | llvm-svn: 174149
* add hexagon scatter bits and split hexgontargethandler to ↵Shankar Easwaran2013-02-017-104/+3748
| | | | | | hexagonrelocationhander llvm-svn: 174148
* Destroy arrays and ARC fields when throwing out of ctors.John McCall2013-02-015-32/+127
| | | | | | | | Previously we were only handling non-array fields of class type. Testcases derived from a patch by WenHan Gu. llvm-svn: 174146
* Don't do delayed exception-specification checking on an invalidDouglas Gregor2013-02-012-0/+19
| | | | | | class. Fixes <rdar://problem/13017229>. llvm-svn: 174145
* [docs] Fixup fallout from other grammar fixup.Sean Silva2013-02-011-1/+1
| | | | | | | | | | | | My "excuse" for not refactoring the grammar here is to not diverge too far from the grammar in the comments of TGParser.cpp, since I'm not taking on the quest of majorly refactoring TGParser.cpp at the moment. One benefit of doing this is that Ideas for refactoring and clarifying the grammar in this document should translate almost immediately to beneficial refactorings that can be made to TGParser.cpp. llvm-svn: 174144
* [docs] Add missing colon to TableGen grammar.Sean Silva2013-02-011-1/+1
| | | | | | Spotted by Eli Bendersky. llvm-svn: 174143
* MachineModel: Inconsequential TableGen SubtargetEmitter fix.Andrew Trick2013-02-011-1/+15
| | | | | | | | Drive by fix. I noticed some missing logic that might bite future users. This shouldn't affect the final output on currently modeled targets. llvm-svn: 174142
* Make sure a value is returned for Thread::ReturnFromFrame().Greg Clayton2013-02-011-2/+1
| | | | llvm-svn: 174141
* Enable -fno-altivec, -mno-altivec for PowerPC.Bill Schmidt2013-02-014-0/+51
| | | | | | | | | | | Introduces these negation forms explicitly and uses them to control a new "altivec" target feature for PowerPC. This allows avoiding generating Altivec instructions on processors that support Altivec. The new test case verifies that the Altivec "lvx" instruction is not used when -fno-altivec is present on the command line. llvm-svn: 174140
* [Sema][Attr]Fix alignment attribute printing.Michael Han2013-02-018-44/+96
| | | | | | | | | Remove "IsMSDeclspec" argument from Align attribute since the arguments in Attr.td should only model those appear in source code. Introduce attribute Accessor, and teach TableGen to generate syntax kind accessors for Align attribute, and use those accessors to decide if an alignment attribute is a declspec attribute. llvm-svn: 174133
* Remove some dead code, improve some asserts, and other assorted changes. No ↵Bill Wendling2013-02-012-29/+13
| | | | | | functionality change. llvm-svn: 174132
* Add a comment explaining an unavailable optimization.Dan Gohman2013-02-011-0/+28
| | | | llvm-svn: 174131
* Remove one of the odious 'Raw' methods.Bill Wendling2013-02-013-18/+5
| | | | llvm-svn: 174130
* Allow the target to give out the size of the red zone for given ABIs.Greg Clayton2013-02-014-79/+231
| | | | | | A bit of cleanup in the heap module. llvm-svn: 174129
* Get rid for switch statement warning for unhandled cases.Greg Clayton2013-02-012-0/+28
| | | | llvm-svn: 174128
* Fixed register dumping for contained-regs.Greg Clayton2013-02-011-21/+29
| | | | llvm-svn: 174127
* Consistently format sample diagnostics on this page.Richard Smith2013-02-011-48/+47
| | | | llvm-svn: 174126
* clang/test/Index/headerfile-comment-to-html.m: Try to unbreak libxml2-less ↵NAKAMURA Takumi2013-02-011-5/+5
| | | | | | hosts to eliminate "CommentXMLValid". llvm-svn: 174124
* Use iterators instead of relying upon a bitmask of attributes to remove ↵Bill Wendling2013-02-011-11/+17
| | | | | | attributes from an AttrBuilder. llvm-svn: 174123
* Rewrite instsimplify's handling if icmp on pointer values to remove theDan Gohman2013-02-012-56/+110
| | | | | | | | | | | | remaining use of AliasAnalysis concepts such as isIdentifiedObject to prove pointer inequality. @external_compare in test/Transforms/InstSimplify/compare.ll shows a simple case where a noalias argument can be equal to a global variable address, and while AliasAnalysis can get away with saying that these pointers don't alias, instsimplify cannot say that they are not equal. llvm-svn: 174122
* Fix another typo in the classof definitions that doesn't (currently)Chandler Carruth2013-02-011-1/+1
| | | | | | have any effect. Spotted by Eli in review, thanks!!! llvm-svn: 174121
* Add iterators to the AttributeSet class so that we can access the Attributes ↵Bill Wendling2013-01-312-0/+17
| | | | | | in a nice way. llvm-svn: 174120
OpenPOWER on IntegriCloud